﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using LitJson2;

class Table
{

}
class tongbu
{
    public object LocalId { get { return this.map["LocalId"]; } set { this.map["LocalId"] = value; } }
    //public object club_id { get { return this.map["club_id"]; } set { this.map["club_id"] = value; } }
    public object sync_type { get { return this.map["sync_type"]; } set { this.map["sync_type"] = value; } }
    public object data_type { get { return this.map["data_type"]; } set { this.map["data_type"] = value; } }
    public object sync_id { get { return this.map["sync_id"]; } set { this.map["sync_id"] = value; } }
    public object timestamp { get { return this.map["timestamp"]; } set { this.map["timestamp"] = value; } }

    protected Dictionary<String, Object> map = new Dictionary<string, object>();

    public virtual void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

    }
    public virtual void fillPK(Dictionary<String, Object> reader)
    {

    }
    public void fillTimestamp(Dictionary<String, Object> reader, string timeStampColName)
    {
        //判断是否会员表和预订表来的时间戳列名
        //如果不是就设为空
        //会员表home_page
        //预定表new_timestamp
        //都包含下划线，则用下划线判断
        if (timeStampColName.Contains("_"))
        {
            this.map["timestamp"] = reader[timeStampColName];
        }
        else
        {
            this.map["timestamp"] = null;
        }
    }

    public String toJson()
    {
        return JsonMapper.ToJson(this.map);
    }
}

class company
{
    public object entityNo { get; set; }           //ets的企业id
    public object cname { get; set; }            //注意不同公司的中文名不能重复，否则会返回errorCode=1000
    public object ename { get; set; }
    public object account { get; set; }
    public object year { get; set; }
    public object ctime { get; set; }  //yyyy-MM-dd格式的字符串
}

class gym
{
    public object fclub_code { get; set; }               //ets的体育馆id
    public object club_name { get; set; }                //注意不同体育馆的中文名不能重复，否则会返回errorCode=1000
    public object club_en_name { get; set; }
    public object company_id { get; set; }                 //对应公司的服务器端Id
    //account,                    
    public object address { get; set; }                     //体育馆地址，ets需要增加这个字段
    //desc,                       
    public object lat { get; set; }                         //纬度，ets需要添加
    public object lng { get; set; }                         //经度，ets需要添加
    public object phone { get; set; }
    //price,
    public object starttime { get; set; }                    //开始营业时间，字符串格式（hh:mm）
    public object endtime { get; set; }                     //营业结束时间
    //work_time,
    public object type { get; set; }                         //运动类型,ets的web_type
    public object province { get; set; }                      //省
    public object city { get; set; }                          //城市
    //service
}
//sys_workshop代码
class sys_workshop : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

        if (oldReader == null || reader["bm_ck"].ToString() != oldReader["bm_ck"].ToString()) { this.map["bm_ck"] = reader["bm_ck"].ToString(); }
        if (oldReader == null || reader["bm_zb_ck"].ToString() != oldReader["bm_zb_ck"].ToString()) { this.map["bm_zb_ck"] = reader["bm_zb_ck"].ToString(); }
        if (oldReader == null || reader["checkin"].ToString() != oldReader["checkin"].ToString()) { this.map["checkin"] = CLRTriggers.getDoubleString(reader, "checkin"); }
        if (oldReader == null || reader["club_id"].ToString() != oldReader["club_id"].ToString()) { this.map["club_id"] = reader["club_id"].ToString(); }
        if (oldReader == null || reader["COMPANY_ID"].ToString() != oldReader["COMPANY_ID"].ToString()) { this.map["COMPANY_ID"] = reader["COMPANY_ID"].ToString(); }
        if (oldReader == null || reader["FClub"].ToString() != oldReader["FClub"].ToString()) { this.map["FClub"] = reader["FClub"].ToString(); }
        if (oldReader == null || reader["fcreatedate"].ToString() != oldReader["fcreatedate"].ToString()) { this.map["fcreatedate"] = CLRTriggers.getDateTimeString(reader, "fcreatedate"); }
        if (oldReader == null || reader["fdeptNo"].ToString() != oldReader["fdeptNo"].ToString()) { this.map["fdeptNo"] = reader["fdeptNo"].ToString(); }
        if (oldReader == null || reader["fEntityNo"].ToString() != oldReader["fEntityNo"].ToString()) { this.map["fEntityNo"] = reader["fEntityNo"].ToString(); }
        if (oldReader == null || reader["fifcy"].ToString() != oldReader["fifcy"].ToString()) { this.map["fifcy"] = CLRTriggers.getDoubleString(reader, "fifcy"); }
        if (oldReader == null || reader["fiffitnes"].ToString() != oldReader["fiffitnes"].ToString()) { this.map["fiffitnes"] = CLRTriggers.getDoubleString(reader, "fiffitnes"); }
        if (oldReader == null || reader["fifhotel"].ToString() != oldReader["fifhotel"].ToString()) { this.map["fifhotel"] = CLRTriggers.getDoubleString(reader, "fifhotel"); }
        if (oldReader == null || reader["fifhx"].ToString() != oldReader["fifhx"].ToString()) { this.map["fifhx"] = CLRTriggers.getDoubleString(reader, "fifhx"); }
        if (oldReader == null || reader["fifi6"].ToString() != oldReader["fifi6"].ToString()) { this.map["fifi6"] = CLRTriggers.getDoubleString(reader, "fifi6"); }
        if (oldReader == null || reader["fifswim"].ToString() != oldReader["fifswim"].ToString()) { this.map["fifswim"] = CLRTriggers.getDoubleString(reader, "fifswim"); }
        if (oldReader == null || reader["fifzbworksh"].ToString() != oldReader["fifzbworksh"].ToString()) { this.map["fifzbworksh"] = CLRTriggers.getDoubleString(reader, "fifzbworksh"); }
        if (oldReader == null || reader["fifzbworkzh"].ToString() != oldReader["fifzbworkzh"].ToString()) { this.map["fifzbworkzh"] = CLRTriggers.getDoubleString(reader, "fifzbworkzh"); }
        if (oldReader == null || reader["fmodifydate"].ToString() != oldReader["fmodifydate"].ToString()) { this.map["fmodifydate"] = CLRTriggers.getDateTimeString(reader, "fmodifydate"); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["fuserdesk"].ToString() != oldReader["fuserdesk"].ToString()) { this.map["fuserdesk"] = CLRTriggers.getDoubleString(reader, "fuserdesk"); }
        if (oldReader == null || reader["fUserNo"].ToString() != oldReader["fUserNo"].ToString()) { this.map["fUserNo"] = reader["fUserNo"].ToString(); }
        if (oldReader == null || reader["ifbuildclass"].ToString() != oldReader["ifbuildclass"].ToString()) { this.map["ifbuildclass"] = reader["ifbuildclass"].ToString(); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["IS_POS"].ToString() != oldReader["IS_POS"].ToString()) { this.map["IS_POS"] = CLRTriggers.getDoubleString(reader, "IS_POS"); }
        if (oldReader == null || reader["IS_STOCK"].ToString() != oldReader["IS_STOCK"].ToString()) { this.map["IS_STOCK"] = CLRTriggers.getDoubleString(reader, "IS_STOCK"); }
        if (oldReader == null || reader["issuecard"].ToString() != oldReader["issuecard"].ToString()) { this.map["issuecard"] = CLRTriggers.getDoubleString(reader, "issuecard"); }
        if (oldReader == null || reader["issuecdno"].ToString() != oldReader["issuecdno"].ToString()) { this.map["issuecdno"] = CLRTriggers.getDoubleString(reader, "issuecdno"); }
        if (oldReader == null || reader["issuekey"].ToString() != oldReader["issuekey"].ToString()) { this.map["issuekey"] = CLRTriggers.getDoubleString(reader, "issuekey"); }
        if (oldReader == null || reader["MEMO"].ToString() != oldReader["MEMO"].ToString()) { this.map["MEMO"] = reader["MEMO"].ToString(); }
        if (oldReader == null || reader["n_last"].ToString() != oldReader["n_last"].ToString()) { this.map["n_last"] = CLRTriggers.getDoubleString(reader, "n_last"); }
        if (oldReader == null || reader["NAMEC"].ToString() != oldReader["NAMEC"].ToString()) { this.map["NAMEC"] = reader["NAMEC"].ToString(); }
        if (oldReader == null || reader["NAMEE"].ToString() != oldReader["NAMEE"].ToString()) { this.map["NAMEE"] = reader["NAMEE"].ToString(); }
        if (oldReader == null || reader["PARENT_ID"].ToString() != oldReader["PARENT_ID"].ToString()) { this.map["PARENT_ID"] = reader["PARENT_ID"].ToString(); }
        if (oldReader == null || reader["pcDatabase"].ToString() != oldReader["pcDatabase"].ToString()) { this.map["pcDatabase"] = reader["pcDatabase"].ToString(); }
        if (oldReader == null || reader["pcDBMS"].ToString() != oldReader["pcDBMS"].ToString()) { this.map["pcDBMS"] = reader["pcDBMS"].ToString(); }
        if (oldReader == null || reader["pcDBParm"].ToString() != oldReader["pcDBParm"].ToString()) { this.map["pcDBParm"] = reader["pcDBParm"].ToString(); }
        if (oldReader == null || reader["pcip"].ToString() != oldReader["pcip"].ToString()) { this.map["pcip"] = reader["pcip"].ToString(); }
        if (oldReader == null || reader["pcLogId"].ToString() != oldReader["pcLogId"].ToString()) { this.map["pcLogId"] = reader["pcLogId"].ToString(); }
        if (oldReader == null || reader["pcLogPass"].ToString() != oldReader["pcLogPass"].ToString()) { this.map["pcLogPass"] = reader["pcLogPass"].ToString(); }
        if (oldReader == null || reader["pcmak"].ToString() != oldReader["pcmak"].ToString()) { this.map["pcmak"] = reader["pcmak"].ToString(); }
        if (oldReader == null || reader["pcServerName"].ToString() != oldReader["pcServerName"].ToString()) { this.map["pcServerName"] = reader["pcServerName"].ToString(); }
        if (oldReader == null || reader["SHOP_ID"].ToString() != oldReader["SHOP_ID"].ToString()) { this.map["SHOP_ID"] = CLRTriggers.getDoubleString(reader, "SHOP_ID"); }
        if (oldReader == null || reader["SHOP_TYPE"].ToString() != oldReader["SHOP_TYPE"].ToString()) { this.map["SHOP_TYPE"] = CLRTriggers.getDoubleString(reader, "SHOP_TYPE"); }
        if (oldReader == null || reader["type"].ToString() != oldReader["type"].ToString()) { this.map["type"] = CLRTriggers.getDoubleString(reader, "type"); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {

        this.map["SHOP_CODE"] = reader["SHOP_CODE"].ToString();

    }

}

//sys_user代码
class sys_user : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

        if (oldReader == null || reader["ACC_LOCK"].ToString() != oldReader["ACC_LOCK"].ToString()) { this.map["ACC_LOCK"] = CLRTriggers.getDoubleString(reader, "ACC_LOCK"); }
        if (oldReader == null || reader["ACC_LOCK_TIME"].ToString() != oldReader["ACC_LOCK_TIME"].ToString()) { this.map["ACC_LOCK_TIME"] = CLRTriggers.getDateTimeString(reader, "ACC_LOCK_TIME"); }
        if (oldReader == null || reader["addrcontact"].ToString() != oldReader["addrcontact"].ToString()) { this.map["addrcontact"] = reader["addrcontact"].ToString(); }
        if (oldReader == null || reader["addrhome"].ToString() != oldReader["addrhome"].ToString()) { this.map["addrhome"] = reader["addrhome"].ToString(); }
        if (oldReader == null || reader["birthdate"].ToString() != oldReader["birthdate"].ToString()) { this.map["birthdate"] = CLRTriggers.getDateTimeString(reader, "birthdate"); }
        if (oldReader == null || reader["bm"].ToString() != oldReader["bm"].ToString()) { this.map["bm"] = reader["bm"].ToString(); }
        if (oldReader == null || reader["cgdsh"].ToString() != oldReader["cgdsh"].ToString()) { this.map["cgdsh"] = CLRTriggers.getDoubleString(reader, "cgdsh"); }
        if (oldReader == null || reader["ch_deptno"].ToString() != oldReader["ch_deptno"].ToString()) { this.map["ch_deptno"] = reader["ch_deptno"].ToString(); }
        if (oldReader == null || reader["ch_flag"].ToString() != oldReader["ch_flag"].ToString()) { this.map["ch_flag"] = reader["ch_flag"].ToString(); }
        if (oldReader == null || reader["ch_pre_mode"].ToString() != oldReader["ch_pre_mode"].ToString()) { this.map["ch_pre_mode"] = reader["ch_pre_mode"].ToString(); }
        if (oldReader == null || reader["ch_view_material_price_flag"].ToString() != oldReader["ch_view_material_price_flag"].ToString()) { this.map["ch_view_material_price_flag"] = reader["ch_view_material_price_flag"].ToString(); }
        if (oldReader == null || reader["city"].ToString() != oldReader["city"].ToString()) { this.map["city"] = reader["city"].ToString(); }
        if (oldReader == null || reader["Code"].ToString() != oldReader["Code"].ToString()) { this.map["Code"] = reader["Code"].ToString(); }
        if (oldReader == null || reader["dbdsh"].ToString() != oldReader["dbdsh"].ToString()) { this.map["dbdsh"] = CLRTriggers.getDoubleString(reader, "dbdsh"); }
        if (oldReader == null || reader["dept"].ToString() != oldReader["dept"].ToString()) { this.map["dept"] = reader["dept"].ToString(); }
        if (oldReader == null || reader["DEPT_ID"].ToString() != oldReader["DEPT_ID"].ToString()) { this.map["DEPT_ID"] = reader["DEPT_ID"].ToString(); }
        if (oldReader == null || reader["deptname"].ToString() != oldReader["deptname"].ToString()) { this.map["deptname"] = reader["deptname"].ToString(); }
        if (oldReader == null || reader["diploma"].ToString() != oldReader["diploma"].ToString()) { this.map["diploma"] = reader["diploma"].ToString(); }
        if (oldReader == null || reader["empid"].ToString() != oldReader["empid"].ToString()) { this.map["empid"] = reader["empid"].ToString(); }
        if (oldReader == null || reader["EmployeeID"].ToString() != oldReader["EmployeeID"].ToString()) { this.map["EmployeeID"] = CLRTriggers.getDoubleString(reader, "EmployeeID"); }
        if (oldReader == null || reader["facc_lock_rep"].ToString() != oldReader["facc_lock_rep"].ToString()) { this.map["facc_lock_rep"] = CLRTriggers.getDoubleString(reader, "facc_lock_rep"); }
        if (oldReader == null || reader["FaccountProp"].ToString() != oldReader["FaccountProp"].ToString()) { this.map["FaccountProp"] = reader["FaccountProp"].ToString(); }
        if (oldReader == null || reader["FClub"].ToString() != oldReader["FClub"].ToString()) { this.map["FClub"] = reader["FClub"].ToString(); }
        if (oldReader == null || reader["FClubacc"].ToString() != oldReader["FClubacc"].ToString()) { this.map["FClubacc"] = reader["FClubacc"].ToString(); }
        if (oldReader == null || reader["fcreatedate"].ToString() != oldReader["fcreatedate"].ToString()) { this.map["fcreatedate"] = CLRTriggers.getDateTimeString(reader, "fcreatedate"); }
        if (oldReader == null || reader["fDeptNo"].ToString() != oldReader["fDeptNo"].ToString()) { this.map["fDeptNo"] = reader["fDeptNo"].ToString(); }
        if (oldReader == null || reader["fdeptNoman"].ToString() != oldReader["fdeptNoman"].ToString()) { this.map["fdeptNoman"] = reader["fdeptNoman"].ToString(); }
        if (oldReader == null || reader["fEntityNo"].ToString() != oldReader["fEntityNo"].ToString()) { this.map["fEntityNo"] = reader["fEntityNo"].ToString(); }
        if (oldReader == null || reader["FFunctRole"].ToString() != oldReader["FFunctRole"].ToString()) { this.map["FFunctRole"] = reader["FFunctRole"].ToString(); }
        if (oldReader == null || reader["FloginTimeType"].ToString() != oldReader["FloginTimeType"].ToString()) { this.map["FloginTimeType"] = reader["FloginTimeType"].ToString(); }
        if (oldReader == null || reader["fmodifydate"].ToString() != oldReader["fmodifydate"].ToString()) { this.map["fmodifydate"] = CLRTriggers.getDateTimeString(reader, "fmodifydate"); }
        if (oldReader == null || reader["fnotidicin"].ToString() != oldReader["fnotidicin"].ToString()) { this.map["fnotidicin"] = CLRTriggers.getDoubleString(reader, "fnotidicin"); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["Fposuserid"].ToString() != oldReader["Fposuserid"].ToString()) { this.map["Fposuserid"] = reader["Fposuserid"].ToString(); }
        if (oldReader == null || reader["fpoweracc"].ToString() != oldReader["fpoweracc"].ToString()) { this.map["fpoweracc"] = CLRTriggers.getDoubleString(reader, "fpoweracc"); }
        if (oldReader == null || reader["fpoweracce"].ToString() != oldReader["fpoweracce"].ToString()) { this.map["fpoweracce"] = CLRTriggers.getDoubleString(reader, "fpoweracce"); }
        if (oldReader == null || reader["fpowerbill"].ToString() != oldReader["fpowerbill"].ToString()) { this.map["fpowerbill"] = CLRTriggers.getDoubleString(reader, "fpowerbill"); }
        if (oldReader == null || reader["fpowertype"].ToString() != oldReader["fpowertype"].ToString()) { this.map["fpowertype"] = CLRTriggers.getDoubleString(reader, "fpowertype"); }
        if (oldReader == null || reader["FuserLevel"].ToString() != oldReader["FuserLevel"].ToString()) { this.map["FuserLevel"] = CLRTriggers.getDoubleString(reader, "FuserLevel"); }
        if (oldReader == null || reader["fUserNo"].ToString() != oldReader["fUserNo"].ToString()) { this.map["fUserNo"] = reader["fUserNo"].ToString(); }
        if (oldReader == null || reader["fusertype"].ToString() != oldReader["fusertype"].ToString()) { this.map["fusertype"] = CLRTriggers.getDoubleString(reader, "fusertype"); }
        if (oldReader == null || reader["fvisibleacc"].ToString() != oldReader["fvisibleacc"].ToString()) { this.map["fvisibleacc"] = CLRTriggers.getDoubleString(reader, "fvisibleacc"); }
        if (oldReader == null || reader["fworkbokec"].ToString() != oldReader["fworkbokec"].ToString()) { this.map["fworkbokec"] = CLRTriggers.getDoubleString(reader, "fworkbokec"); }
        if (oldReader == null || reader["group_id"].ToString() != oldReader["group_id"].ToString()) { this.map["group_id"] = reader["group_id"].ToString(); }
        if (oldReader == null || reader["GroupID"].ToString() != oldReader["GroupID"].ToString()) { this.map["GroupID"] = CLRTriggers.getDoubleString(reader, "GroupID"); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["int_discount"].ToString() != oldReader["int_discount"].ToString()) { this.map["int_discount"] = CLRTriggers.getDoubleString(reader, "int_discount"); }
        if (oldReader == null || reader["int_present_rate"].ToString() != oldReader["int_present_rate"].ToString()) { this.map["int_present_rate"] = CLRTriggers.getDoubleString(reader, "int_present_rate"); }
        if (oldReader == null || reader["int_report_rate"].ToString() != oldReader["int_report_rate"].ToString()) { this.map["int_report_rate"] = CLRTriggers.getDoubleString(reader, "int_report_rate"); }
        if (oldReader == null || reader["int_zfgs"].ToString() != oldReader["int_zfgs"].ToString()) { this.map["int_zfgs"] = CLRTriggers.getDoubleString(reader, "int_zfgs"); }
        if (oldReader == null || reader["IS_EMPTYPASS"].ToString() != oldReader["IS_EMPTYPASS"].ToString()) { this.map["IS_EMPTYPASS"] = CLRTriggers.getDoubleString(reader, "IS_EMPTYPASS"); }
        if (oldReader == null || reader["IS_FOREVERPASS"].ToString() != oldReader["IS_FOREVERPASS"].ToString()) { this.map["IS_FOREVERPASS"] = CLRTriggers.getDoubleString(reader, "IS_FOREVERPASS"); }
        if (oldReader == null || reader["IS_ICCARD"].ToString() != oldReader["IS_ICCARD"].ToString()) { this.map["IS_ICCARD"] = CLRTriggers.getDoubleString(reader, "IS_ICCARD"); }
        if (oldReader == null || reader["IS_NEXTPASS"].ToString() != oldReader["IS_NEXTPASS"].ToString()) { this.map["IS_NEXTPASS"] = CLRTriggers.getDoubleString(reader, "IS_NEXTPASS"); }
        if (oldReader == null || reader["IS_USERPASS"].ToString() != oldReader["IS_USERPASS"].ToString()) { this.map["IS_USERPASS"] = CLRTriggers.getDoubleString(reader, "IS_USERPASS"); }
        if (oldReader == null || reader["isuser"].ToString() != oldReader["isuser"].ToString()) { this.map["isuser"] = CLRTriggers.getDoubleString(reader, "isuser"); }
        if (oldReader == null || reader["MAX_DISCOUNT"].ToString() != oldReader["MAX_DISCOUNT"].ToString()) { this.map["MAX_DISCOUNT"] = CLRTriggers.getDoubleString(reader, "MAX_DISCOUNT"); }
        if (oldReader == null || reader["mc"].ToString() != oldReader["mc"].ToString()) { this.map["mc"] = reader["mc"].ToString(); }
        if (oldReader == null || reader["n_last"].ToString() != oldReader["n_last"].ToString()) { this.map["n_last"] = CLRTriggers.getDoubleString(reader, "n_last"); }
        if (oldReader == null || reader["Name"].ToString() != oldReader["Name"].ToString()) { this.map["Name"] = reader["Name"].ToString(); }
        if (oldReader == null || reader["num_free"].ToString() != oldReader["num_free"].ToString()) { this.map["num_free"] = CLRTriggers.getDoubleString(reader, "num_free"); }
        if (oldReader == null || reader["num_present"].ToString() != oldReader["num_present"].ToString()) { this.map["num_present"] = CLRTriggers.getDoubleString(reader, "num_present"); }
        if (oldReader == null || reader["num_present_month"].ToString() != oldReader["num_present_month"].ToString()) { this.map["num_present_month"] = CLRTriggers.getDoubleString(reader, "num_present_month"); }
        if (oldReader == null || reader["OTHER_ID"].ToString() != oldReader["OTHER_ID"].ToString()) { this.map["OTHER_ID"] = reader["OTHER_ID"].ToString(); }
        if (oldReader == null || reader["PASS_LAST_TIME"].ToString() != oldReader["PASS_LAST_TIME"].ToString()) { this.map["PASS_LAST_TIME"] = CLRTriggers.getDateTimeString(reader, "PASS_LAST_TIME"); }
        if (oldReader == null || reader["PASSWD"].ToString() != oldReader["PASSWD"].ToString()) { this.map["PASSWD"] = reader["PASSWD"].ToString(); }
        if (oldReader == null || reader["PASSWD_CONFIRM"].ToString() != oldReader["PASSWD_CONFIRM"].ToString()) { this.map["PASSWD_CONFIRM"] = reader["PASSWD_CONFIRM"].ToString(); }
        if (oldReader == null || reader["Password"].ToString() != oldReader["Password"].ToString()) { this.map["Password"] = reader["Password"].ToString(); }
        if (oldReader == null || reader["pcno"].ToString() != oldReader["pcno"].ToString()) { this.map["pcno"] = reader["pcno"].ToString(); }
        if (oldReader == null || reader["picture"].ToString() != oldReader["picture"].ToString()) { this.map["picture"] = reader["picture"].ToString(); }
        if (oldReader == null || reader["province"].ToString() != oldReader["province"].ToString()) { this.map["province"] = reader["province"].ToString(); }
        if (oldReader == null || reader["recomm"].ToString() != oldReader["recomm"].ToString()) { this.map["recomm"] = reader["recomm"].ToString(); }
        if (oldReader == null || reader["rep_pcno"].ToString() != oldReader["rep_pcno"].ToString()) { this.map["rep_pcno"] = reader["rep_pcno"].ToString(); }
        if (oldReader == null || reader["resume"].ToString() != oldReader["resume"].ToString()) { this.map["resume"] = reader["resume"].ToString(); }
        if (oldReader == null || reader["rkdsh"].ToString() != oldReader["rkdsh"].ToString()) { this.map["rkdsh"] = CLRTriggers.getDoubleString(reader, "rkdsh"); }
        if (oldReader == null || reader["salary"].ToString() != oldReader["salary"].ToString()) { this.map["salary"] = CLRTriggers.getDoubleString(reader, "salary"); }
        if (oldReader == null || reader["salerate"].ToString() != oldReader["salerate"].ToString()) { this.map["salerate"] = CLRTriggers.getDoubleString(reader, "salerate"); }
        if (oldReader == null || reader["sex"].ToString() != oldReader["sex"].ToString()) { this.map["sex"] = reader["sex"].ToString(); }
        if (oldReader == null || reader["sgdsh"].ToString() != oldReader["sgdsh"].ToString()) { this.map["sgdsh"] = CLRTriggers.getDoubleString(reader, "sgdsh"); }
        if (oldReader == null || reader["startdate"].ToString() != oldReader["startdate"].ToString()) { this.map["startdate"] = CLRTriggers.getDateTimeString(reader, "startdate"); }
        if (oldReader == null || reader["subclub"].ToString() != oldReader["subclub"].ToString()) { this.map["subclub"] = reader["subclub"].ToString(); }
        if (oldReader == null || reader["subclubname"].ToString() != oldReader["subclubname"].ToString()) { this.map["subclubname"] = reader["subclubname"].ToString(); }
        if (oldReader == null || reader["telcontact"].ToString() != oldReader["telcontact"].ToString()) { this.map["telcontact"] = reader["telcontact"].ToString(); }
        if (oldReader == null || reader["telhome"].ToString() != oldReader["telhome"].ToString()) { this.map["telhome"] = reader["telhome"].ToString(); }
        if (oldReader == null || reader["thdsh"].ToString() != oldReader["thdsh"].ToString()) { this.map["thdsh"] = CLRTriggers.getDoubleString(reader, "thdsh"); }
        if (oldReader == null || reader["TIME_CREATE"].ToString() != oldReader["TIME_CREATE"].ToString()) { this.map["TIME_CREATE"] = CLRTriggers.getDateTimeString(reader, "TIME_CREATE"); }
        if (oldReader == null || reader["TIME_LIMIT"].ToString() != oldReader["TIME_LIMIT"].ToString()) { this.map["TIME_LIMIT"] = CLRTriggers.getDateTimeString(reader, "TIME_LIMIT"); }
        if (oldReader == null || reader["type"].ToString() != oldReader["type"].ToString()) { this.map["type"] = CLRTriggers.getDoubleString(reader, "type"); }
        if (oldReader == null || reader["USER_DESCRIPTION"].ToString() != oldReader["USER_DESCRIPTION"].ToString()) { this.map["USER_DESCRIPTION"] = reader["USER_DESCRIPTION"].ToString(); }
        if (oldReader == null || reader["USER_LEVEL"].ToString() != oldReader["USER_LEVEL"].ToString()) { this.map["USER_LEVEL"] = CLRTriggers.getDoubleString(reader, "USER_LEVEL"); }
        if (oldReader == null || reader["USER_NAMEC"].ToString() != oldReader["USER_NAMEC"].ToString()) { this.map["USER_NAMEC"] = reader["USER_NAMEC"].ToString(); }
        if (oldReader == null || reader["USER_NAMEE"].ToString() != oldReader["USER_NAMEE"].ToString()) { this.map["USER_NAMEE"] = reader["USER_NAMEE"].ToString(); }
        if (oldReader == null || reader["user_pass"].ToString() != oldReader["user_pass"].ToString()) { this.map["user_pass"] = reader["user_pass"].ToString(); }
        if (oldReader == null || reader["user_pass_q"].ToString() != oldReader["user_pass_q"].ToString()) { this.map["user_pass_q"] = reader["user_pass_q"].ToString(); }
        if (oldReader == null || reader["USER_SNO"].ToString() != oldReader["USER_SNO"].ToString()) { this.map["USER_SNO"] = CLRTriggers.getDoubleString(reader, "USER_SNO"); }
        if (oldReader == null || reader["USER_STATUS"].ToString() != oldReader["USER_STATUS"].ToString()) { this.map["USER_STATUS"] = CLRTriggers.getDoubleString(reader, "USER_STATUS"); }
        if (oldReader == null || reader["USER_TYPE"].ToString() != oldReader["USER_TYPE"].ToString()) { this.map["USER_TYPE"] = CLRTriggers.getDoubleString(reader, "USER_TYPE"); }
        if (oldReader == null || reader["vch_cardid"].ToString() != oldReader["vch_cardid"].ToString()) { this.map["vch_cardid"] = reader["vch_cardid"].ToString(); }
        if (oldReader == null || reader["vch_empno"].ToString() != oldReader["vch_empno"].ToString()) { this.map["vch_empno"] = reader["vch_empno"].ToString(); }
        if (oldReader == null || reader["vch_operator"].ToString() != oldReader["vch_operator"].ToString()) { this.map["vch_operator"] = reader["vch_operator"].ToString(); }
        if (oldReader == null || reader["vch_operID"].ToString() != oldReader["vch_operID"].ToString()) { this.map["vch_operID"] = reader["vch_operID"].ToString(); }
        if (oldReader == null || reader["vch_password"].ToString() != oldReader["vch_password"].ToString()) { this.map["vch_password"] = reader["vch_password"].ToString(); }
        if (oldReader == null || reader["WORKSHOP_ID"].ToString() != oldReader["WORKSHOP_ID"].ToString()) { this.map["WORKSHOP_ID"] = reader["WORKSHOP_ID"].ToString(); }
        if (oldReader == null || reader["yddiscount"].ToString() != oldReader["yddiscount"].ToString()) { this.map["yddiscount"] = CLRTriggers.getDoubleString(reader, "yddiscount"); }
        if (oldReader == null || reader["zipcode"].ToString() != oldReader["zipcode"].ToString()) { this.map["zipcode"] = reader["zipcode"].ToString(); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {

        this.map["USER_ID"] = reader["USER_ID"].ToString();

    }

}

//sys_payment代码
class sys_payment : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

        if (oldReader == null || reader["account_code"].ToString() != oldReader["account_code"].ToString()) { this.map["account_code"] = reader["account_code"].ToString(); }
        if (oldReader == null || reader["bank_service"].ToString() != oldReader["bank_service"].ToString()) { this.map["bank_service"] = CLRTriggers.getDoubleString(reader, "bank_service"); }
        if (oldReader == null || reader["detail_type"].ToString() != oldReader["detail_type"].ToString()) { this.map["detail_type"] = reader["detail_type"].ToString(); }
        if (oldReader == null || reader["fbillpos"].ToString() != oldReader["fbillpos"].ToString()) { this.map["fbillpos"] = CLRTriggers.getDoubleString(reader, "fbillpos"); }
        if (oldReader == null || reader["FClub"].ToString() != oldReader["FClub"].ToString()) { this.map["FClub"] = reader["FClub"].ToString(); }
        if (oldReader == null || reader["fcoupinput"].ToString() != oldReader["fcoupinput"].ToString()) { this.map["fcoupinput"] = CLRTriggers.getDoubleString(reader, "fcoupinput"); }
        if (oldReader == null || reader["fcreatedate"].ToString() != oldReader["fcreatedate"].ToString()) { this.map["fcreatedate"] = CLRTriggers.getDateTimeString(reader, "fcreatedate"); }
        if (oldReader == null || reader["fEntityNo"].ToString() != oldReader["fEntityNo"].ToString()) { this.map["fEntityNo"] = reader["fEntityNo"].ToString(); }
        if (oldReader == null || reader["fifrepacc"].ToString() != oldReader["fifrepacc"].ToString()) { this.map["fifrepacc"] = CLRTriggers.getDoubleString(reader, "fifrepacc"); }
        if (oldReader == null || reader["fmodifydate"].ToString() != oldReader["fmodifydate"].ToString()) { this.map["fmodifydate"] = CLRTriggers.getDateTimeString(reader, "fmodifydate"); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["fUserNo"].ToString() != oldReader["fUserNo"].ToString()) { this.map["fUserNo"] = reader["fUserNo"].ToString(); }
        if (oldReader == null || reader["if_account"].ToString() != oldReader["if_account"].ToString()) { this.map["if_account"] = reader["if_account"].ToString(); }
        if (oldReader == null || reader["if_efficieny"].ToString() != oldReader["if_efficieny"].ToString()) { this.map["if_efficieny"] = reader["if_efficieny"].ToString(); }
        if (oldReader == null || reader["if_sat"].ToString() != oldReader["if_sat"].ToString()) { this.map["if_sat"] = reader["if_sat"].ToString(); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["memo"].ToString() != oldReader["memo"].ToString()) { this.map["memo"] = reader["memo"].ToString(); }
        if (oldReader == null || reader["money_type"].ToString() != oldReader["money_type"].ToString()) { this.map["money_type"] = reader["money_type"].ToString(); }
        if (oldReader == null || reader["n_last"].ToString() != oldReader["n_last"].ToString()) { this.map["n_last"] = CLRTriggers.getDoubleString(reader, "n_last"); }
        if (oldReader == null || reader["name_c"].ToString() != oldReader["name_c"].ToString()) { this.map["name_c"] = reader["name_c"].ToString(); }
        if (oldReader == null || reader["name_e"].ToString() != oldReader["name_e"].ToString()) { this.map["name_e"] = reader["name_e"].ToString(); }
        if (oldReader == null || reader["parent_code"].ToString() != oldReader["parent_code"].ToString()) { this.map["parent_code"] = reader["parent_code"].ToString(); }
        if (oldReader == null || reader["parent_type"].ToString() != oldReader["parent_type"].ToString()) { this.map["parent_type"] = reader["parent_type"].ToString(); }
        if (oldReader == null || reader["payment_type"].ToString() != oldReader["payment_type"].ToString()) { this.map["payment_type"] = reader["payment_type"].ToString(); }
        if (oldReader == null || reader["touch_disp"].ToString() != oldReader["touch_disp"].ToString()) { this.map["touch_disp"] = reader["touch_disp"].ToString(); }
        if (oldReader == null || reader["type"].ToString() != oldReader["type"].ToString()) { this.map["type"] = CLRTriggers.getDoubleString(reader, "type"); }
        if (oldReader == null || reader["type_code"].ToString() != oldReader["type_code"].ToString()) { this.map["type_code"] = reader["type_code"].ToString(); }
        if (oldReader == null || reader["type_workshop"].ToString() != oldReader["type_workshop"].ToString()) { this.map["type_workshop"] = reader["type_workshop"].ToString(); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {

        this.map["code"] = reader["code"].ToString();

    }

}

//syskindacc代码
class syskindacc : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

        if (oldReader == null || reader["FClub"].ToString() != oldReader["FClub"].ToString()) { this.map["FClub"] = reader["FClub"].ToString(); }
        if (oldReader == null || reader["fcreatedate"].ToString() != oldReader["fcreatedate"].ToString()) { this.map["fcreatedate"] = CLRTriggers.getDateTimeString(reader, "fcreatedate"); }
        if (oldReader == null || reader["fEntityNo"].ToString() != oldReader["fEntityNo"].ToString()) { this.map["fEntityNo"] = reader["fEntityNo"].ToString(); }
        if (oldReader == null || reader["fifsysset"].ToString() != oldReader["fifsysset"].ToString()) { this.map["fifsysset"] = CLRTriggers.getDoubleString(reader, "fifsysset"); }
        if (oldReader == null || reader["fmodifydate"].ToString() != oldReader["fmodifydate"].ToString()) { this.map["fmodifydate"] = CLRTriggers.getDateTimeString(reader, "fmodifydate"); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["fUserNo"].ToString() != oldReader["fUserNo"].ToString()) { this.map["fUserNo"] = reader["fUserNo"].ToString(); }
        if (oldReader == null || reader["fvch_printer"].ToString() != oldReader["fvch_printer"].ToString()) { this.map["fvch_printer"] = reader["fvch_printer"].ToString(); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["n_last"].ToString() != oldReader["n_last"].ToString()) { this.map["n_last"] = CLRTriggers.getDoubleString(reader, "n_last"); }
        if (oldReader == null || reader["name"].ToString() != oldReader["name"].ToString()) { this.map["name"] = reader["name"].ToString(); }
        if (oldReader == null || reader["namee"].ToString() != oldReader["namee"].ToString()) { this.map["namee"] = reader["namee"].ToString(); }
        if (oldReader == null || reader["otherkm1"].ToString() != oldReader["otherkm1"].ToString()) { this.map["otherkm1"] = reader["otherkm1"].ToString(); }
        if (oldReader == null || reader["otherkm2"].ToString() != oldReader["otherkm2"].ToString()) { this.map["otherkm2"] = reader["otherkm2"].ToString(); }
        if (oldReader == null || reader["otherkmname1"].ToString() != oldReader["otherkmname1"].ToString()) { this.map["otherkmname1"] = reader["otherkmname1"].ToString(); }
        if (oldReader == null || reader["otherkmname2"].ToString() != oldReader["otherkmname2"].ToString()) { this.map["otherkmname2"] = reader["otherkmname2"].ToString(); }
        if (oldReader == null || reader["parentcode"].ToString() != oldReader["parentcode"].ToString()) { this.map["parentcode"] = reader["parentcode"].ToString(); }
        if (oldReader == null || reader["paynamev"].ToString() != oldReader["paynamev"].ToString()) { this.map["paynamev"] = reader["paynamev"].ToString(); }
        if (oldReader == null || reader["sale_kinds1"].ToString() != oldReader["sale_kinds1"].ToString()) { this.map["sale_kinds1"] = reader["sale_kinds1"].ToString(); }
        if (oldReader == null || reader["syscode"].ToString() != oldReader["syscode"].ToString()) { this.map["syscode"] = reader["syscode"].ToString(); }
        if (oldReader == null || reader["type"].ToString() != oldReader["type"].ToString()) { this.map["type"] = CLRTriggers.getDoubleString(reader, "type"); }
        if (oldReader == null || reader["WORKSHOP_ID"].ToString() != oldReader["WORKSHOP_ID"].ToString()) { this.map["WORKSHOP_ID"] = reader["WORKSHOP_ID"].ToString(); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {

        this.map["code"] = reader["code"].ToString();

    }

}

//fitness_checkin代码
class fitness_checkin : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

        if (oldReader == null || reader["cardno"].ToString() != oldReader["cardno"].ToString()) { this.map["cardno"] = reader["cardno"].ToString(); }
        if (oldReader == null || reader["checkin_date"].ToString() != oldReader["checkin_date"].ToString()) { this.map["checkin_date"] = CLRTriggers.getDateTimeString(reader, "checkin_date"); }
        if (oldReader == null || reader["checkin_status"].ToString() != oldReader["checkin_status"].ToString()) { this.map["checkin_status"] = CLRTriggers.getDoubleString(reader, "checkin_status"); }
        if (oldReader == null || reader["checkin_time"].ToString() != oldReader["checkin_time"].ToString()) { this.map["checkin_time"] = CLRTriggers.getDateTimeString(reader, "checkin_time"); }
        if (oldReader == null || reader["checkouttime"].ToString() != oldReader["checkouttime"].ToString()) { this.map["checkouttime"] = CLRTriggers.getDateTimeString(reader, "checkouttime"); }
        if (oldReader == null || reader["city_id"].ToString() != oldReader["city_id"].ToString()) { this.map["city_id"] = reader["city_id"].ToString(); }
        if (oldReader == null || reader["clubcode"].ToString() != oldReader["clubcode"].ToString()) { this.map["clubcode"] = reader["clubcode"].ToString(); }
        if (oldReader == null || reader["cname"].ToString() != oldReader["cname"].ToString()) { this.map["cname"] = reader["cname"].ToString(); }
        if (oldReader == null || reader["color"].ToString() != oldReader["color"].ToString()) { this.map["color"] = CLRTriggers.getDoubleString(reader, "color"); }
        if (oldReader == null || reader["deposit"].ToString() != oldReader["deposit"].ToString()) { this.map["deposit"] = CLRTriggers.getDoubleString(reader, "deposit"); }
        if (oldReader == null || reader["expendcard"].ToString() != oldReader["expendcard"].ToString()) { this.map["expendcard"] = reader["expendcard"].ToString(); }
        if (oldReader == null || reader["fbillNo"].ToString() != oldReader["fbillNo"].ToString()) { this.map["fbillNo"] = reader["fbillNo"].ToString(); }
        if (oldReader == null || reader["fbillNosub"].ToString() != oldReader["fbillNosub"].ToString()) { this.map["fbillNosub"] = reader["fbillNosub"].ToString(); }
        if (oldReader == null || reader["fbphzs"].ToString() != oldReader["fbphzs"].ToString()) { this.map["fbphzs"] = CLRTriggers.getDoubleString(reader, "fbphzs"); }
        if (oldReader == null || reader["FClub"].ToString() != oldReader["FClub"].ToString()) { this.map["FClub"] = reader["FClub"].ToString(); }
        if (oldReader == null || reader["fcreatedate"].ToString() != oldReader["fcreatedate"].ToString()) { this.map["fcreatedate"] = CLRTriggers.getDateTimeString(reader, "fcreatedate"); }
        if (oldReader == null || reader["fcusttdno"].ToString() != oldReader["fcusttdno"].ToString()) { this.map["fcusttdno"] = reader["fcusttdno"].ToString(); }
        if (oldReader == null || reader["fEntityNo"].ToString() != oldReader["fEntityNo"].ToString()) { this.map["fEntityNo"] = reader["fEntityNo"].ToString(); }
        if (oldReader == null || reader["fgphzs"].ToString() != oldReader["fgphzs"].ToString()) { this.map["fgphzs"] = CLRTriggers.getDoubleString(reader, "fgphzs"); }
        if (oldReader == null || reader["fhyshitem"].ToString() != oldReader["fhyshitem"].ToString()) { this.map["fhyshitem"] = reader["fhyshitem"].ToString(); }
        if (oldReader == null || reader["finje"].ToString() != oldReader["finje"].ToString()) { this.map["finje"] = CLRTriggers.getDoubleString(reader, "finje"); }
        if (oldReader == null || reader["fje"].ToString() != oldReader["fje"].ToString()) { this.map["fje"] = CLRTriggers.getDoubleString(reader, "fje"); }
        if (oldReader == null || reader["fmodifydate"].ToString() != oldReader["fmodifydate"].ToString()) { this.map["fmodifydate"] = CLRTriggers.getDateTimeString(reader, "fmodifydate"); }
        if (oldReader == null || reader["fmp"].ToString() != oldReader["fmp"].ToString()) { this.map["fmp"] = reader["fmp"].ToString(); }
        if (oldReader == null || reader["fmpdate"].ToString() != oldReader["fmpdate"].ToString()) { this.map["fmpdate"] = CLRTriggers.getDateTimeString(reader, "fmpdate"); }
        if (oldReader == null || reader["fmpdaycount"].ToString() != oldReader["fmpdaycount"].ToString()) { this.map["fmpdaycount"] = CLRTriggers.getDoubleString(reader, "fmpdaycount"); }
        if (oldReader == null || reader["fmpenddate"].ToString() != oldReader["fmpenddate"].ToString()) { this.map["fmpenddate"] = CLRTriggers.getDateTimeString(reader, "fmpenddate"); }
        if (oldReader == null || reader["fmpjeall"].ToString() != oldReader["fmpjeall"].ToString()) { this.map["fmpjeall"] = CLRTriggers.getDoubleString(reader, "fmpjeall"); }
        if (oldReader == null || reader["fmpsttdate"].ToString() != oldReader["fmpsttdate"].ToString()) { this.map["fmpsttdate"] = CLRTriggers.getDateTimeString(reader, "fmpsttdate"); }
        if (oldReader == null || reader["fmpusermin"].ToString() != oldReader["fmpusermin"].ToString()) { this.map["fmpusermin"] = CLRTriggers.getDoubleString(reader, "fmpusermin"); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["fqry"].ToString() != oldReader["fqry"].ToString()) { this.map["fqry"] = CLRTriggers.getDoubleString(reader, "fqry"); }
        if (oldReader == null || reader["fsalempdttime"].ToString() != oldReader["fsalempdttime"].ToString()) { this.map["fsalempdttime"] = CLRTriggers.getDateTimeString(reader, "fsalempdttime"); }
        if (oldReader == null || reader["ftime_mode"].ToString() != oldReader["ftime_mode"].ToString()) { this.map["ftime_mode"] = reader["ftime_mode"].ToString(); }
        if (oldReader == null || reader["fUserNo"].ToString() != oldReader["fUserNo"].ToString()) { this.map["fUserNo"] = reader["fUserNo"].ToString(); }
        if (oldReader == null || reader["fyjjeall"].ToString() != oldReader["fyjjeall"].ToString()) { this.map["fyjjeall"] = CLRTriggers.getDoubleString(reader, "fyjjeall"); }
        if (oldReader == null || reader["guesttype"].ToString() != oldReader["guesttype"].ToString()) { this.map["guesttype"] = CLRTriggers.getDoubleString(reader, "guesttype"); }
        if (oldReader == null || reader["if_keyring"].ToString() != oldReader["if_keyring"].ToString()) { this.map["if_keyring"] = CLRTriggers.getDoubleString(reader, "if_keyring"); }
        if (oldReader == null || reader["if_returnkey"].ToString() != oldReader["if_returnkey"].ToString()) { this.map["if_returnkey"] = CLRTriggers.getDoubleString(reader, "if_returnkey"); }
        if (oldReader == null || reader["if_towel"].ToString() != oldReader["if_towel"].ToString()) { this.map["if_towel"] = CLRTriggers.getDoubleString(reader, "if_towel"); }
        if (oldReader == null || reader["ifcusttype"].ToString() != oldReader["ifcusttype"].ToString()) { this.map["ifcusttype"] = CLRTriggers.getDoubleString(reader, "ifcusttype"); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["ifinshoes"].ToString() != oldReader["ifinshoes"].ToString()) { this.map["ifinshoes"] = reader["ifinshoes"].ToString(); }
        if (oldReader == null || reader["ifoutshoes"].ToString() != oldReader["ifoutshoes"].ToString()) { this.map["ifoutshoes"] = reader["ifoutshoes"].ToString(); }
        if (oldReader == null || reader["ifshoes"].ToString() != oldReader["ifshoes"].ToString()) { this.map["ifshoes"] = reader["ifshoes"].ToString(); }
        if (oldReader == null || reader["issuecard"].ToString() != oldReader["issuecard"].ToString()) { this.map["issuecard"] = CLRTriggers.getDoubleString(reader, "issuecard"); }
        if (oldReader == null || reader["keyno"].ToString() != oldReader["keyno"].ToString()) { this.map["keyno"] = reader["keyno"].ToString(); }
        if (oldReader == null || reader["lockstatus"].ToString() != oldReader["lockstatus"].ToString()) { this.map["lockstatus"] = CLRTriggers.getDoubleString(reader, "lockstatus"); }
        if (oldReader == null || reader["mem_status"].ToString() != oldReader["mem_status"].ToString()) { this.map["mem_status"] = CLRTriggers.getDoubleString(reader, "mem_status"); }
        if (oldReader == null || reader["mem_type"].ToString() != oldReader["mem_type"].ToString()) { this.map["mem_type"] = CLRTriggers.getDoubleString(reader, "mem_type"); }
        if (oldReader == null || reader["memid"].ToString() != oldReader["memid"].ToString()) { this.map["memid"] = reader["memid"].ToString(); }
        if (oldReader == null || reader["memiden"].ToString() != oldReader["memiden"].ToString()) { this.map["memiden"] = reader["memiden"].ToString(); }
        if (oldReader == null || reader["memo"].ToString() != oldReader["memo"].ToString()) { this.map["memo"] = reader["memo"].ToString(); }
        if (oldReader == null || reader["n_last"].ToString() != oldReader["n_last"].ToString()) { this.map["n_last"] = CLRTriggers.getDoubleString(reader, "n_last"); }
        if (oldReader == null || reader["operator"].ToString() != oldReader["operator"].ToString()) { this.map["operator"] = reader["operator"].ToString(); }
        if (oldReader == null || reader["posflag"].ToString() != oldReader["posflag"].ToString()) { this.map["posflag"] = CLRTriggers.getDoubleString(reader, "posflag"); }
        if (oldReader == null || reader["sex"].ToString() != oldReader["sex"].ToString()) { this.map["sex"] = reader["sex"].ToString(); }
        if (oldReader == null || reader["shoesdate1"].ToString() != oldReader["shoesdate1"].ToString()) { this.map["shoesdate1"] = CLRTriggers.getDateTimeString(reader, "shoesdate1"); }
        if (oldReader == null || reader["shoesdate2"].ToString() != oldReader["shoesdate2"].ToString()) { this.map["shoesdate2"] = CLRTriggers.getDateTimeString(reader, "shoesdate2"); }
        if (oldReader == null || reader["shoesdate4"].ToString() != oldReader["shoesdate4"].ToString()) { this.map["shoesdate4"] = CLRTriggers.getDateTimeString(reader, "shoesdate4"); }
        if (oldReader == null || reader["workshop"].ToString() != oldReader["workshop"].ToString()) { this.map["workshop"] = reader["workshop"].ToString(); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {

        this.map["sid"] = reader["sid"].ToString();

    }

}

//pos_bill_payment代码
class pos_bill_payment : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

        if (oldReader == null || reader["billcode"].ToString() != oldReader["billcode"].ToString()) { this.map["billcode"] = reader["billcode"].ToString(); }
        if (oldReader == null || reader["billcodepos"].ToString() != oldReader["billcodepos"].ToString()) { this.map["billcodepos"] = reader["billcodepos"].ToString(); }
        if (oldReader == null || reader["clubcode"].ToString() != oldReader["clubcode"].ToString()) { this.map["clubcode"] = reader["clubcode"].ToString(); }
        if (oldReader == null || reader["ExpiryDate"].ToString() != oldReader["ExpiryDate"].ToString()) { this.map["ExpiryDate"] = reader["ExpiryDate"].ToString(); }
        if (oldReader == null || reader["Fbankcard"].ToString() != oldReader["Fbankcard"].ToString()) { this.map["Fbankcard"] = reader["Fbankcard"].ToString(); }
        if (oldReader == null || reader["FClub"].ToString() != oldReader["FClub"].ToString()) { this.map["FClub"] = reader["FClub"].ToString(); }
        if (oldReader == null || reader["fcreatedate"].ToString() != oldReader["fcreatedate"].ToString()) { this.map["fcreatedate"] = CLRTriggers.getDateTimeString(reader, "fcreatedate"); }
        if (oldReader == null || reader["fEntityNo"].ToString() != oldReader["fEntityNo"].ToString()) { this.map["fEntityNo"] = reader["fEntityNo"].ToString(); }
        if (oldReader == null || reader["fifdhyhpay"].ToString() != oldReader["fifdhyhpay"].ToString()) { this.map["fifdhyhpay"] = CLRTriggers.getDoubleString(reader, "fifdhyhpay"); }
        if (oldReader == null || reader["fifrepacc"].ToString() != oldReader["fifrepacc"].ToString()) { this.map["fifrepacc"] = CLRTriggers.getDoubleString(reader, "fifrepacc"); }
        if (oldReader == null || reader["fit_paymentid"].ToString() != oldReader["fit_paymentid"].ToString()) { this.map["fit_paymentid"] = reader["fit_paymentid"].ToString(); }
        if (oldReader == null || reader["fmodifydate"].ToString() != oldReader["fmodifydate"].ToString()) { this.map["fmodifydate"] = CLRTriggers.getDateTimeString(reader, "fmodifydate"); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["Fposid"].ToString() != oldReader["Fposid"].ToString()) { this.map["Fposid"] = reader["Fposid"].ToString(); }
        if (oldReader == null || reader["Fposuserid"].ToString() != oldReader["Fposuserid"].ToString()) { this.map["Fposuserid"] = reader["Fposuserid"].ToString(); }
        if (oldReader == null || reader["fUserNo"].ToString() != oldReader["fUserNo"].ToString()) { this.map["fUserNo"] = reader["fUserNo"].ToString(); }
        if (oldReader == null || reader["if_invoice"].ToString() != oldReader["if_invoice"].ToString()) { this.map["if_invoice"] = CLRTriggers.getDoubleString(reader, "if_invoice"); }
        if (oldReader == null || reader["if_revenue"].ToString() != oldReader["if_revenue"].ToString()) { this.map["if_revenue"] = CLRTriggers.getDoubleString(reader, "if_revenue"); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["memid"].ToString() != oldReader["memid"].ToString()) { this.map["memid"] = reader["memid"].ToString(); }
        if (oldReader == null || reader["n_last"].ToString() != oldReader["n_last"].ToString()) { this.map["n_last"] = CLRTriggers.getDoubleString(reader, "n_last"); }
        if (oldReader == null || reader["pay_status"].ToString() != oldReader["pay_status"].ToString()) { this.map["pay_status"] = CLRTriggers.getDoubleString(reader, "pay_status"); }
        if (oldReader == null || reader["payamount"].ToString() != oldReader["payamount"].ToString()) { this.map["payamount"] = CLRTriggers.getDoubleString(reader, "payamount"); }
        if (oldReader == null || reader["paycardno"].ToString() != oldReader["paycardno"].ToString()) { this.map["paycardno"] = reader["paycardno"].ToString(); }
        if (oldReader == null || reader["paychanges"].ToString() != oldReader["paychanges"].ToString()) { this.map["paychanges"] = CLRTriggers.getDoubleString(reader, "paychanges"); }
        if (oldReader == null || reader["paycode"].ToString() != oldReader["paycode"].ToString()) { this.map["paycode"] = reader["paycode"].ToString(); }
        if (oldReader == null || reader["paydate"].ToString() != oldReader["paydate"].ToString()) { this.map["paydate"] = CLRTriggers.getDateTimeString(reader, "paydate"); }
        if (oldReader == null || reader["payfamt"].ToString() != oldReader["payfamt"].ToString()) { this.map["payfamt"] = CLRTriggers.getDoubleString(reader, "payfamt"); }
        if (oldReader == null || reader["payflag"].ToString() != oldReader["payflag"].ToString()) { this.map["payflag"] = CLRTriggers.getDoubleString(reader, "payflag"); }
        if (oldReader == null || reader["payforeign"].ToString() != oldReader["payforeign"].ToString()) { this.map["payforeign"] = reader["payforeign"].ToString(); }
        if (oldReader == null || reader["paymemo"].ToString() != oldReader["paymemo"].ToString()) { this.map["paymemo"] = reader["paymemo"].ToString(); }
        if (oldReader == null || reader["paymethod"].ToString() != oldReader["paymethod"].ToString()) { this.map["paymethod"] = reader["paymethod"].ToString(); }
        if (oldReader == null || reader["payname"].ToString() != oldReader["payname"].ToString()) { this.map["payname"] = reader["payname"].ToString(); }
        if (oldReader == null || reader["payno"].ToString() != oldReader["payno"].ToString()) { this.map["payno"] = reader["payno"].ToString(); }
        if (oldReader == null || reader["payparent"].ToString() != oldReader["payparent"].ToString()) { this.map["payparent"] = reader["payparent"].ToString(); }
        if (oldReader == null || reader["payrate"].ToString() != oldReader["payrate"].ToString()) { this.map["payrate"] = CLRTriggers.getDoubleString(reader, "payrate"); }
        if (oldReader == null || reader["payshop"].ToString() != oldReader["payshop"].ToString()) { this.map["payshop"] = reader["payshop"].ToString(); }
        if (oldReader == null || reader["paysysid"].ToString() != oldReader["paysysid"].ToString()) { this.map["paysysid"] = CLRTriggers.getDoubleString(reader, "paysysid"); }
        if (oldReader == null || reader["paytype"].ToString() != oldReader["paytype"].ToString()) { this.map["paytype"] = reader["paytype"].ToString(); }
        if (oldReader == null || reader["rec_status"].ToString() != oldReader["rec_status"].ToString()) { this.map["rec_status"] = CLRTriggers.getDoubleString(reader, "rec_status"); }
        if (oldReader == null || reader["sale_category"].ToString() != oldReader["sale_category"].ToString()) { this.map["sale_category"] = reader["sale_category"].ToString(); }
        if (oldReader == null || reader["sale_kinds"].ToString() != oldReader["sale_kinds"].ToString()) { this.map["sale_kinds"] = reader["sale_kinds"].ToString(); }
        if (oldReader == null || reader["sale_special"].ToString() != oldReader["sale_special"].ToString()) { this.map["sale_special"] = reader["sale_special"].ToString(); }
        if (oldReader == null || reader["shiftno"].ToString() != oldReader["shiftno"].ToString()) { this.map["shiftno"] = reader["shiftno"].ToString(); }
        if (oldReader == null || reader["syscode"].ToString() != oldReader["syscode"].ToString()) { this.map["syscode"] = reader["syscode"].ToString(); }
        if (oldReader == null || reader["userid"].ToString() != oldReader["userid"].ToString()) { this.map["userid"] = reader["userid"].ToString(); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {

        this.map["paymentid"] = reader["paymentid"].ToString();

    }

}

//pos_sales代码
class pos_sales : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

        if (oldReader == null || reader["acc_clubkinds1"].ToString() != oldReader["acc_clubkinds1"].ToString()) { this.map["acc_clubkinds1"] = reader["acc_clubkinds1"].ToString(); }
        if (oldReader == null || reader["acc_clubkinds2"].ToString() != oldReader["acc_clubkinds2"].ToString()) { this.map["acc_clubkinds2"] = reader["acc_clubkinds2"].ToString(); }
        if (oldReader == null || reader["acc_clubkinds3"].ToString() != oldReader["acc_clubkinds3"].ToString()) { this.map["acc_clubkinds3"] = reader["acc_clubkinds3"].ToString(); }
        if (oldReader == null || reader["accuserid"].ToString() != oldReader["accuserid"].ToString()) { this.map["accuserid"] = reader["accuserid"].ToString(); }
        if (oldReader == null || reader["autocdflag"].ToString() != oldReader["autocdflag"].ToString()) { this.map["autocdflag"] = CLRTriggers.getDoubleString(reader, "autocdflag"); }
        if (oldReader == null || reader["billcode"].ToString() != oldReader["billcode"].ToString()) { this.map["billcode"] = reader["billcode"].ToString(); }
        if (oldReader == null || reader["billshop"].ToString() != oldReader["billshop"].ToString()) { this.map["billshop"] = reader["billshop"].ToString(); }
        if (oldReader == null || reader["bm_ck"].ToString() != oldReader["bm_ck"].ToString()) { this.map["bm_ck"] = reader["bm_ck"].ToString(); }
        if (oldReader == null || reader["ch_printflag"].ToString() != oldReader["ch_printflag"].ToString()) { this.map["ch_printflag"] = CLRTriggers.getDoubleString(reader, "ch_printflag"); }
        if (oldReader == null || reader["checkin_id"].ToString() != oldReader["checkin_id"].ToString()) { this.map["checkin_id"] = reader["checkin_id"].ToString(); }
        if (oldReader == null || reader["closedate"].ToString() != oldReader["closedate"].ToString()) { this.map["closedate"] = CLRTriggers.getDateTimeString(reader, "closedate"); }
        if (oldReader == null || reader["closemethod"].ToString() != oldReader["closemethod"].ToString()) { this.map["closemethod"] = reader["closemethod"].ToString(); }
        if (oldReader == null || reader["club_id"].ToString() != oldReader["club_id"].ToString()) { this.map["club_id"] = reader["club_id"].ToString(); }
        if (oldReader == null || reader["clubcode"].ToString() != oldReader["clubcode"].ToString()) { this.map["clubcode"] = reader["clubcode"].ToString(); }
        if (oldReader == null || reader["complimentary_flag"].ToString() != oldReader["complimentary_flag"].ToString()) { this.map["complimentary_flag"] = reader["complimentary_flag"].ToString(); }
        if (oldReader == null || reader["deposit"].ToString() != oldReader["deposit"].ToString()) { this.map["deposit"] = CLRTriggers.getDoubleString(reader, "deposit"); }
        if (oldReader == null || reader["disccode"].ToString() != oldReader["disccode"].ToString()) { this.map["disccode"] = reader["disccode"].ToString(); }
        if (oldReader == null || reader["discountpercent"].ToString() != oldReader["discountpercent"].ToString()) { this.map["discountpercent"] = CLRTriggers.getDoubleString(reader, "discountpercent"); }
        if (oldReader == null || reader["discounttotal"].ToString() != oldReader["discounttotal"].ToString()) { this.map["discounttotal"] = CLRTriggers.getDoubleString(reader, "discounttotal"); }
        if (oldReader == null || reader["dj_cb"].ToString() != oldReader["dj_cb"].ToString()) { this.map["dj_cb"] = CLRTriggers.getDoubleString(reader, "dj_cb"); }
        if (oldReader == null || reader["dzxh"].ToString() != oldReader["dzxh"].ToString()) { this.map["dzxh"] = CLRTriggers.getDoubleString(reader, "dzxh"); }
        if (oldReader == null || reader["endtime"].ToString() != oldReader["endtime"].ToString()) { this.map["endtime"] = CLRTriggers.getDateTimeString(reader, "endtime"); }
        if (oldReader == null || reader["fbillNosub"].ToString() != oldReader["fbillNosub"].ToString()) { this.map["fbillNosub"] = reader["fbillNosub"].ToString(); }
        if (oldReader == null || reader["fcditemno"].ToString() != oldReader["fcditemno"].ToString()) { this.map["fcditemno"] = reader["fcditemno"].ToString(); }
        if (oldReader == null || reader["fclub"].ToString() != oldReader["fclub"].ToString()) { this.map["fclub"] = reader["fclub"].ToString(); }
        if (oldReader == null || reader["fcount_hh"].ToString() != oldReader["fcount_hh"].ToString()) { this.map["fcount_hh"] = CLRTriggers.getDoubleString(reader, "fcount_hh"); }
        if (oldReader == null || reader["fcount_mm"].ToString() != oldReader["fcount_mm"].ToString()) { this.map["fcount_mm"] = CLRTriggers.getDoubleString(reader, "fcount_mm"); }
        if (oldReader == null || reader["fcreatedate"].ToString() != oldReader["fcreatedate"].ToString()) { this.map["fcreatedate"] = CLRTriggers.getDateTimeString(reader, "fcreatedate"); }
        if (oldReader == null || reader["fcustno"].ToString() != oldReader["fcustno"].ToString()) { this.map["fcustno"] = reader["fcustno"].ToString(); }
        if (oldReader == null || reader["fcusttdno"].ToString() != oldReader["fcusttdno"].ToString()) { this.map["fcusttdno"] = reader["fcusttdno"].ToString(); }
        if (oldReader == null || reader["fdayandhousr"].ToString() != oldReader["fdayandhousr"].ToString()) { this.map["fdayandhousr"] = CLRTriggers.getDoubleString(reader, "fdayandhousr"); }
        if (oldReader == null || reader["fEntityNo"].ToString() != oldReader["fEntityNo"].ToString()) { this.map["fEntityNo"] = reader["fEntityNo"].ToString(); }
        if (oldReader == null || reader["fit_paymentid"].ToString() != oldReader["fit_paymentid"].ToString()) { this.map["fit_paymentid"] = reader["fit_paymentid"].ToString(); }
        if (oldReader == null || reader["fit_saleid"].ToString() != oldReader["fit_saleid"].ToString()) { this.map["fit_saleid"] = reader["fit_saleid"].ToString(); }
        if (oldReader == null || reader["fmodifydate"].ToString() != oldReader["fmodifydate"].ToString()) { this.map["fmodifydate"] = CLRTriggers.getDateTimeString(reader, "fmodifydate"); }
        if (oldReader == null || reader["Fmp_m_id"].ToString() != oldReader["Fmp_m_id"].ToString()) { this.map["Fmp_m_id"] = reader["Fmp_m_id"].ToString(); }
        if (oldReader == null || reader["fmpdaycount"].ToString() != oldReader["fmpdaycount"].ToString()) { this.map["fmpdaycount"] = CLRTriggers.getDoubleString(reader, "fmpdaycount"); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["Fremark"].ToString() != oldReader["Fremark"].ToString()) { this.map["Fremark"] = reader["Fremark"].ToString(); }
        if (oldReader == null || reader["fUserNo"].ToString() != oldReader["fUserNo"].ToString()) { this.map["fUserNo"] = reader["fUserNo"].ToString(); }
        if (oldReader == null || reader["grand_billcode"].ToString() != oldReader["grand_billcode"].ToString()) { this.map["grand_billcode"] = reader["grand_billcode"].ToString(); }
        if (oldReader == null || reader["gratuitypercent"].ToString() != oldReader["gratuitypercent"].ToString()) { this.map["gratuitypercent"] = CLRTriggers.getDoubleString(reader, "gratuitypercent"); }
        if (oldReader == null || reader["gratuitytotal"].ToString() != oldReader["gratuitytotal"].ToString()) { this.map["gratuitytotal"] = CLRTriggers.getDoubleString(reader, "gratuitytotal"); }
        if (oldReader == null || reader["holidaymethod"].ToString() != oldReader["holidaymethod"].ToString()) { this.map["holidaymethod"] = CLRTriggers.getDoubleString(reader, "holidaymethod"); }
        if (oldReader == null || reader["if_discount"].ToString() != oldReader["if_discount"].ToString()) { this.map["if_discount"] = CLRTriggers.getDoubleString(reader, "if_discount"); }
        if (oldReader == null || reader["if_generate"].ToString() != oldReader["if_generate"].ToString()) { this.map["if_generate"] = CLRTriggers.getDoubleString(reader, "if_generate"); }
        if (oldReader == null || reader["if_gratuity"].ToString() != oldReader["if_gratuity"].ToString()) { this.map["if_gratuity"] = CLRTriggers.getDoubleString(reader, "if_gratuity"); }
        if (oldReader == null || reader["if_import"].ToString() != oldReader["if_import"].ToString()) { this.map["if_import"] = CLRTriggers.getDoubleString(reader, "if_import"); }
        if (oldReader == null || reader["if_invoice"].ToString() != oldReader["if_invoice"].ToString()) { this.map["if_invoice"] = CLRTriggers.getDoubleString(reader, "if_invoice"); }
        if (oldReader == null || reader["if_other"].ToString() != oldReader["if_other"].ToString()) { this.map["if_other"] = CLRTriggers.getDoubleString(reader, "if_other"); }
        if (oldReader == null || reader["if_revenue"].ToString() != oldReader["if_revenue"].ToString()) { this.map["if_revenue"] = CLRTriggers.getDoubleString(reader, "if_revenue"); }
        if (oldReader == null || reader["if_tax"].ToString() != oldReader["if_tax"].ToString()) { this.map["if_tax"] = CLRTriggers.getDoubleString(reader, "if_tax"); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["is_addtion"].ToString() != oldReader["is_addtion"].ToString()) { this.map["is_addtion"] = reader["is_addtion"].ToString(); }
        if (oldReader == null || reader["is_backup"].ToString() != oldReader["is_backup"].ToString()) { this.map["is_backup"] = reader["is_backup"].ToString(); }
        if (oldReader == null || reader["is_check"].ToString() != oldReader["is_check"].ToString()) { this.map["is_check"] = CLRTriggers.getDoubleString(reader, "is_check"); }
        if (oldReader == null || reader["is_inv"].ToString() != oldReader["is_inv"].ToString()) { this.map["is_inv"] = reader["is_inv"].ToString(); }
        if (oldReader == null || reader["is_meal"].ToString() != oldReader["is_meal"].ToString()) { this.map["is_meal"] = reader["is_meal"].ToString(); }
        if (oldReader == null || reader["itemcode"].ToString() != oldReader["itemcode"].ToString()) { this.map["itemcode"] = reader["itemcode"].ToString(); }
        if (oldReader == null || reader["itemid"].ToString() != oldReader["itemid"].ToString()) { this.map["itemid"] = CLRTriggers.getDoubleString(reader, "itemid"); }
        if (oldReader == null || reader["itemname1"].ToString() != oldReader["itemname1"].ToString()) { this.map["itemname1"] = reader["itemname1"].ToString(); }
        if (oldReader == null || reader["itemname2"].ToString() != oldReader["itemname2"].ToString()) { this.map["itemname2"] = reader["itemname2"].ToString(); }
        if (oldReader == null || reader["itemspec"].ToString() != oldReader["itemspec"].ToString()) { this.map["itemspec"] = reader["itemspec"].ToString(); }
        if (oldReader == null || reader["je_cb"].ToString() != oldReader["je_cb"].ToString()) { this.map["je_cb"] = CLRTriggers.getDoubleString(reader, "je_cb"); }
        if (oldReader == null || reader["keyno"].ToString() != oldReader["keyno"].ToString()) { this.map["keyno"] = reader["keyno"].ToString(); }
        if (oldReader == null || reader["kitchen_type"].ToString() != oldReader["kitchen_type"].ToString()) { this.map["kitchen_type"] = reader["kitchen_type"].ToString(); }
        if (oldReader == null || reader["meal_id"].ToString() != oldReader["meal_id"].ToString()) { this.map["meal_id"] = CLRTriggers.getDoubleString(reader, "meal_id"); }
        if (oldReader == null || reader["meal_type"].ToString() != oldReader["meal_type"].ToString()) { this.map["meal_type"] = reader["meal_type"].ToString(); }
        if (oldReader == null || reader["memno"].ToString() != oldReader["memno"].ToString()) { this.map["memno"] = reader["memno"].ToString(); }
        if (oldReader == null || reader["modifier"].ToString() != oldReader["modifier"].ToString()) { this.map["modifier"] = reader["modifier"].ToString(); }
        if (oldReader == null || reader["modifier_memo"].ToString() != oldReader["modifier_memo"].ToString()) { this.map["modifier_memo"] = reader["modifier_memo"].ToString(); }
        if (oldReader == null || reader["n_last"].ToString() != oldReader["n_last"].ToString()) { this.map["n_last"] = CLRTriggers.getDoubleString(reader, "n_last"); }
        if (oldReader == null || reader["orderno"].ToString() != oldReader["orderno"].ToString()) { this.map["orderno"] = CLRTriggers.getDoubleString(reader, "orderno"); }
        if (oldReader == null || reader["otherflag"].ToString() != oldReader["otherflag"].ToString()) { this.map["otherflag"] = CLRTriggers.getDoubleString(reader, "otherflag"); }
        if (oldReader == null || reader["otherid"].ToString() != oldReader["otherid"].ToString()) { this.map["otherid"] = CLRTriggers.getDoubleString(reader, "otherid"); }
        if (oldReader == null || reader["parent_category"].ToString() != oldReader["parent_category"].ToString()) { this.map["parent_category"] = reader["parent_category"].ToString(); }
        if (oldReader == null || reader["parent_kinds"].ToString() != oldReader["parent_kinds"].ToString()) { this.map["parent_kinds"] = reader["parent_kinds"].ToString(); }
        if (oldReader == null || reader["parent_special"].ToString() != oldReader["parent_special"].ToString()) { this.map["parent_special"] = reader["parent_special"].ToString(); }
        if (oldReader == null || reader["pay_status"].ToString() != oldReader["pay_status"].ToString()) { this.map["pay_status"] = CLRTriggers.getDoubleString(reader, "pay_status"); }
        if (oldReader == null || reader["paydate"].ToString() != oldReader["paydate"].ToString()) { this.map["paydate"] = CLRTriggers.getDateTimeString(reader, "paydate"); }
        if (oldReader == null || reader["payflag"].ToString() != oldReader["payflag"].ToString()) { this.map["payflag"] = CLRTriggers.getDoubleString(reader, "payflag"); }
        if (oldReader == null || reader["paymentid"].ToString() != oldReader["paymentid"].ToString()) { this.map["paymentid"] = CLRTriggers.getDoubleString(reader, "paymentid"); }
        if (oldReader == null || reader["paymethod"].ToString() != oldReader["paymethod"].ToString()) { this.map["paymethod"] = reader["paymethod"].ToString(); }
        if (oldReader == null || reader["payshop"].ToString() != oldReader["payshop"].ToString()) { this.map["payshop"] = reader["payshop"].ToString(); }
        if (oldReader == null || reader["pricemethod"].ToString() != oldReader["pricemethod"].ToString()) { this.map["pricemethod"] = CLRTriggers.getDoubleString(reader, "pricemethod"); }
        if (oldReader == null || reader["printno"].ToString() != oldReader["printno"].ToString()) { this.map["printno"] = CLRTriggers.getDoubleString(reader, "printno"); }
        if (oldReader == null || reader["produceshop"].ToString() != oldReader["produceshop"].ToString()) { this.map["produceshop"] = reader["produceshop"].ToString(); }
        if (oldReader == null || reader["quantity"].ToString() != oldReader["quantity"].ToString()) { this.map["quantity"] = CLRTriggers.getDoubleString(reader, "quantity"); }
        if (oldReader == null || reader["reason"].ToString() != oldReader["reason"].ToString()) { this.map["reason"] = reader["reason"].ToString(); }
        if (oldReader == null || reader["rebatetotal"].ToString() != oldReader["rebatetotal"].ToString()) { this.map["rebatetotal"] = CLRTriggers.getDoubleString(reader, "rebatetotal"); }
        if (oldReader == null || reader["rec_status"].ToString() != oldReader["rec_status"].ToString()) { this.map["rec_status"] = CLRTriggers.getDoubleString(reader, "rec_status"); }
        if (oldReader == null || reader["sale_category"].ToString() != oldReader["sale_category"].ToString()) { this.map["sale_category"] = reader["sale_category"].ToString(); }
        if (oldReader == null || reader["sale_kinds"].ToString() != oldReader["sale_kinds"].ToString()) { this.map["sale_kinds"] = reader["sale_kinds"].ToString(); }
        if (oldReader == null || reader["sale_prop"].ToString() != oldReader["sale_prop"].ToString()) { this.map["sale_prop"] = CLRTriggers.getDoubleString(reader, "sale_prop"); }
        if (oldReader == null || reader["sale_special"].ToString() != oldReader["sale_special"].ToString()) { this.map["sale_special"] = reader["sale_special"].ToString(); }
        if (oldReader == null || reader["sale_status"].ToString() != oldReader["sale_status"].ToString()) { this.map["sale_status"] = CLRTriggers.getDoubleString(reader, "sale_status"); }
        if (oldReader == null || reader["sale_type"].ToString() != oldReader["sale_type"].ToString()) { this.map["sale_type"] = CLRTriggers.getDoubleString(reader, "sale_type"); }
        if (oldReader == null || reader["saledate"].ToString() != oldReader["saledate"].ToString()) { this.map["saledate"] = CLRTriggers.getDateTimeString(reader, "saledate"); }
        if (oldReader == null || reader["saleprice"].ToString() != oldReader["saleprice"].ToString()) { this.map["saleprice"] = CLRTriggers.getDoubleString(reader, "saleprice"); }
        if (oldReader == null || reader["saleshop"].ToString() != oldReader["saleshop"].ToString()) { this.map["saleshop"] = reader["saleshop"].ToString(); }
        if (oldReader == null || reader["saletime"].ToString() != oldReader["saletime"].ToString()) { this.map["saletime"] = CLRTriggers.getDateTimeString(reader, "saletime"); }
        if (oldReader == null || reader["saletotal"].ToString() != oldReader["saletotal"].ToString()) { this.map["saletotal"] = CLRTriggers.getDoubleString(reader, "saletotal"); }
        if (oldReader == null || reader["saleweight"].ToString() != oldReader["saleweight"].ToString()) { this.map["saleweight"] = CLRTriggers.getDoubleString(reader, "saleweight"); }
        if (oldReader == null || reader["seat_no"].ToString() != oldReader["seat_no"].ToString()) { this.map["seat_no"] = CLRTriggers.getDoubleString(reader, "seat_no"); }
        if (oldReader == null || reader["seatno"].ToString() != oldReader["seatno"].ToString()) { this.map["seatno"] = reader["seatno"].ToString(); }
        if (oldReader == null || reader["serverno"].ToString() != oldReader["serverno"].ToString()) { this.map["serverno"] = reader["serverno"].ToString(); }
        if (oldReader == null || reader["spandhyacc"].ToString() != oldReader["spandhyacc"].ToString()) { this.map["spandhyacc"] = reader["spandhyacc"].ToString(); }
        if (oldReader == null || reader["stat_code"].ToString() != oldReader["stat_code"].ToString()) { this.map["stat_code"] = reader["stat_code"].ToString(); }
        if (oldReader == null || reader["stockprice"].ToString() != oldReader["stockprice"].ToString()) { this.map["stockprice"] = CLRTriggers.getDoubleString(reader, "stockprice"); }
        if (oldReader == null || reader["stockqty"].ToString() != oldReader["stockqty"].ToString()) { this.map["stockqty"] = CLRTriggers.getDoubleString(reader, "stockqty"); }
        if (oldReader == null || reader["sttime"].ToString() != oldReader["sttime"].ToString()) { this.map["sttime"] = CLRTriggers.getDateTimeString(reader, "sttime"); }
        if (oldReader == null || reader["taxpercent"].ToString() != oldReader["taxpercent"].ToString()) { this.map["taxpercent"] = CLRTriggers.getDoubleString(reader, "taxpercent"); }
        if (oldReader == null || reader["taxtotal"].ToString() != oldReader["taxtotal"].ToString()) { this.map["taxtotal"] = CLRTriggers.getDoubleString(reader, "taxtotal"); }
        if (oldReader == null || reader["totalpayable"].ToString() != oldReader["totalpayable"].ToString()) { this.map["totalpayable"] = CLRTriggers.getDoubleString(reader, "totalpayable"); }
        if (oldReader == null || reader["userid"].ToString() != oldReader["userid"].ToString()) { this.map["userid"] = reader["userid"].ToString(); }
        if (oldReader == null || reader["v_artno"].ToString() != oldReader["v_artno"].ToString()) { this.map["v_artno"] = reader["v_artno"].ToString(); }
        if (oldReader == null || reader["walkcust_ftype"].ToString() != oldReader["walkcust_ftype"].ToString()) { this.map["walkcust_ftype"] = CLRTriggers.getDoubleString(reader, "walkcust_ftype"); }
        if (oldReader == null || reader["xh"].ToString() != oldReader["xh"].ToString()) { this.map["xh"] = CLRTriggers.getDoubleString(reader, "xh"); }
        if (oldReader == null || reader["zbcardno"].ToString() != oldReader["zbcardno"].ToString()) { this.map["zbcardno"] = reader["zbcardno"].ToString(); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {

        this.map["saleid"] = reader["saleid"].ToString();

    }

}

//pos_bills代码
class pos_bills : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

        if (oldReader == null || reader["accuserid"].ToString() != oldReader["accuserid"].ToString()) { this.map["accuserid"] = reader["accuserid"].ToString(); }
        if (oldReader == null || reader["bill_status"].ToString() != oldReader["bill_status"].ToString()) { this.map["bill_status"] = CLRTriggers.getDoubleString(reader, "bill_status"); }
        if (oldReader == null || reader["billdate"].ToString() != oldReader["billdate"].ToString()) { this.map["billdate"] = CLRTriggers.getDateTimeString(reader, "billdate"); }
        if (oldReader == null || reader["billshop"].ToString() != oldReader["billshop"].ToString()) { this.map["billshop"] = reader["billshop"].ToString(); }
        if (oldReader == null || reader["billtotal"].ToString() != oldReader["billtotal"].ToString()) { this.map["billtotal"] = CLRTriggers.getDoubleString(reader, "billtotal"); }
        if (oldReader == null || reader["billtype"].ToString() != oldReader["billtype"].ToString()) { this.map["billtype"] = CLRTriggers.getDoubleString(reader, "billtype"); }
        if (oldReader == null || reader["bm_ck"].ToString() != oldReader["bm_ck"].ToString()) { this.map["bm_ck"] = reader["bm_ck"].ToString(); }
        if (oldReader == null || reader["cardbalance"].ToString() != oldReader["cardbalance"].ToString()) { this.map["cardbalance"] = CLRTriggers.getDoubleString(reader, "cardbalance"); }
        if (oldReader == null || reader["cardno"].ToString() != oldReader["cardno"].ToString()) { this.map["cardno"] = reader["cardno"].ToString(); }
        if (oldReader == null || reader["ch_payno"].ToString() != oldReader["ch_payno"].ToString()) { this.map["ch_payno"] = reader["ch_payno"].ToString(); }
        if (oldReader == null || reader["checker"].ToString() != oldReader["checker"].ToString()) { this.map["checker"] = reader["checker"].ToString(); }
        if (oldReader == null || reader["checkin_id"].ToString() != oldReader["checkin_id"].ToString()) { this.map["checkin_id"] = reader["checkin_id"].ToString(); }
        if (oldReader == null || reader["closedate"].ToString() != oldReader["closedate"].ToString()) { this.map["closedate"] = CLRTriggers.getDateTimeString(reader, "closedate"); }
        if (oldReader == null || reader["closeshift"].ToString() != oldReader["closeshift"].ToString()) { this.map["closeshift"] = reader["closeshift"].ToString(); }
        if (oldReader == null || reader["closetime"].ToString() != oldReader["closetime"].ToString()) { this.map["closetime"] = CLRTriggers.getDateTimeString(reader, "closetime"); }
        if (oldReader == null || reader["closeuserid"].ToString() != oldReader["closeuserid"].ToString()) { this.map["closeuserid"] = reader["closeuserid"].ToString(); }
        if (oldReader == null || reader["club_id"].ToString() != oldReader["club_id"].ToString()) { this.map["club_id"] = reader["club_id"].ToString(); }
        if (oldReader == null || reader["clubcode"].ToString() != oldReader["clubcode"].ToString()) { this.map["clubcode"] = reader["clubcode"].ToString(); }
        if (oldReader == null || reader["dailysno"].ToString() != oldReader["dailysno"].ToString()) { this.map["dailysno"] = CLRTriggers.getDoubleString(reader, "dailysno"); }
        if (oldReader == null || reader["depositall"].ToString() != oldReader["depositall"].ToString()) { this.map["depositall"] = CLRTriggers.getDoubleString(reader, "depositall"); }
        if (oldReader == null || reader["discountpercent"].ToString() != oldReader["discountpercent"].ToString()) { this.map["discountpercent"] = CLRTriggers.getDoubleString(reader, "discountpercent"); }
        if (oldReader == null || reader["discounttotal"].ToString() != oldReader["discounttotal"].ToString()) { this.map["discounttotal"] = CLRTriggers.getDoubleString(reader, "discounttotal"); }
        if (oldReader == null || reader["dzxh"].ToString() != oldReader["dzxh"].ToString()) { this.map["dzxh"] = CLRTriggers.getDoubleString(reader, "dzxh"); }
        if (oldReader == null || reader["endtime"].ToString() != oldReader["endtime"].ToString()) { this.map["endtime"] = CLRTriggers.getDateTimeString(reader, "endtime"); }
        if (oldReader == null || reader["f_paykind"].ToString() != oldReader["f_paykind"].ToString()) { this.map["f_paykind"] = reader["f_paykind"].ToString(); }
        if (oldReader == null || reader["facctypeset"].ToString() != oldReader["facctypeset"].ToString()) { this.map["facctypeset"] = CLRTriggers.getDoubleString(reader, "facctypeset"); }
        if (oldReader == null || reader["fbillnohbaccno"].ToString() != oldReader["fbillnohbaccno"].ToString()) { this.map["fbillnohbaccno"] = reader["fbillnohbaccno"].ToString(); }
        if (oldReader == null || reader["fcditemno"].ToString() != oldReader["fcditemno"].ToString()) { this.map["fcditemno"] = reader["fcditemno"].ToString(); }
        if (oldReader == null || reader["fclub"].ToString() != oldReader["fclub"].ToString()) { this.map["fclub"] = reader["fclub"].ToString(); }
        if (oldReader == null || reader["fcount_hh"].ToString() != oldReader["fcount_hh"].ToString()) { this.map["fcount_hh"] = CLRTriggers.getDoubleString(reader, "fcount_hh"); }
        if (oldReader == null || reader["fcount_mm"].ToString() != oldReader["fcount_mm"].ToString()) { this.map["fcount_mm"] = CLRTriggers.getDoubleString(reader, "fcount_mm"); }
        if (oldReader == null || reader["fcreatedate"].ToString() != oldReader["fcreatedate"].ToString()) { this.map["fcreatedate"] = CLRTriggers.getDateTimeString(reader, "fcreatedate"); }
        if (oldReader == null || reader["fcustno"].ToString() != oldReader["fcustno"].ToString()) { this.map["fcustno"] = reader["fcustno"].ToString(); }
        if (oldReader == null || reader["fcusttdno"].ToString() != oldReader["fcusttdno"].ToString()) { this.map["fcusttdno"] = reader["fcusttdno"].ToString(); }
        if (oldReader == null || reader["fEntityNo"].ToString() != oldReader["fEntityNo"].ToString()) { this.map["fEntityNo"] = reader["fEntityNo"].ToString(); }
        if (oldReader == null || reader["fhbbillflash"].ToString() != oldReader["fhbbillflash"].ToString()) { this.map["fhbbillflash"] = CLRTriggers.getDoubleString(reader, "fhbbillflash"); }
        if (oldReader == null || reader["finmpyj"].ToString() != oldReader["finmpyj"].ToString()) { this.map["finmpyj"] = CLRTriggers.getDoubleString(reader, "finmpyj"); }
        if (oldReader == null || reader["fmodifydate"].ToString() != oldReader["fmodifydate"].ToString()) { this.map["fmodifydate"] = CLRTriggers.getDateTimeString(reader, "fmodifydate"); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["fRemark"].ToString() != oldReader["fRemark"].ToString()) { this.map["fRemark"] = reader["fRemark"].ToString(); }
        if (oldReader == null || reader["fRemarkdoc"].ToString() != oldReader["fRemarkdoc"].ToString()) { this.map["fRemarkdoc"] = reader["fRemarkdoc"].ToString(); }
        if (oldReader == null || reader["fUserNo"].ToString() != oldReader["fUserNo"].ToString()) { this.map["fUserNo"] = reader["fUserNo"].ToString(); }
        if (oldReader == null || reader["fydbillno"].ToString() != oldReader["fydbillno"].ToString()) { this.map["fydbillno"] = reader["fydbillno"].ToString(); }
        if (oldReader == null || reader["generateflag"].ToString() != oldReader["generateflag"].ToString()) { this.map["generateflag"] = CLRTriggers.getDoubleString(reader, "generateflag"); }
        if (oldReader == null || reader["grand_billcode"].ToString() != oldReader["grand_billcode"].ToString()) { this.map["grand_billcode"] = reader["grand_billcode"].ToString(); }
        if (oldReader == null || reader["gratuitypercent"].ToString() != oldReader["gratuitypercent"].ToString()) { this.map["gratuitypercent"] = CLRTriggers.getDoubleString(reader, "gratuitypercent"); }
        if (oldReader == null || reader["gratuitytotal"].ToString() != oldReader["gratuitytotal"].ToString()) { this.map["gratuitytotal"] = CLRTriggers.getDoubleString(reader, "gratuitytotal"); }
        if (oldReader == null || reader["guest_identity"].ToString() != oldReader["guest_identity"].ToString()) { this.map["guest_identity"] = reader["guest_identity"].ToString(); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["invoiceflag"].ToString() != oldReader["invoiceflag"].ToString()) { this.map["invoiceflag"] = CLRTriggers.getDoubleString(reader, "invoiceflag"); }
        if (oldReader == null || reader["invoiceno"].ToString() != oldReader["invoiceno"].ToString()) { this.map["invoiceno"] = reader["invoiceno"].ToString(); }
        if (oldReader == null || reader["is_check"].ToString() != oldReader["is_check"].ToString()) { this.map["is_check"] = CLRTriggers.getDoubleString(reader, "is_check"); }
        if (oldReader == null || reader["keyno"].ToString() != oldReader["keyno"].ToString()) { this.map["keyno"] = reader["keyno"].ToString(); }
        if (oldReader == null || reader["lockstatus"].ToString() != oldReader["lockstatus"].ToString()) { this.map["lockstatus"] = CLRTriggers.getDoubleString(reader, "lockstatus"); }
        if (oldReader == null || reader["memid"].ToString() != oldReader["memid"].ToString()) { this.map["memid"] = CLRTriggers.getDoubleString(reader, "memid"); }
        if (oldReader == null || reader["memno"].ToString() != oldReader["memno"].ToString()) { this.map["memno"] = reader["memno"].ToString(); }
        if (oldReader == null || reader["memsid"].ToString() != oldReader["memsid"].ToString()) { this.map["memsid"] = reader["memsid"].ToString(); }
        if (oldReader == null || reader["modify"].ToString() != oldReader["modify"].ToString()) { this.map["modify"] = reader["modify"].ToString(); }
        if (oldReader == null || reader["modifytime"].ToString() != oldReader["modifytime"].ToString()) { this.map["modifytime"] = CLRTriggers.getDateTimeString(reader, "modifytime"); }
        if (oldReader == null || reader["n_last"].ToString() != oldReader["n_last"].ToString()) { this.map["n_last"] = CLRTriggers.getDoubleString(reader, "n_last"); }
        if (oldReader == null || reader["name"].ToString() != oldReader["name"].ToString()) { this.map["name"] = reader["name"].ToString(); }
        if (oldReader == null || reader["noofguest"].ToString() != oldReader["noofguest"].ToString()) { this.map["noofguest"] = CLRTriggers.getDoubleString(reader, "noofguest"); }
        if (oldReader == null || reader["opentime"].ToString() != oldReader["opentime"].ToString()) { this.map["opentime"] = CLRTriggers.getDateTimeString(reader, "opentime"); }
        if (oldReader == null || reader["openuserid"].ToString() != oldReader["openuserid"].ToString()) { this.map["openuserid"] = reader["openuserid"].ToString(); }
        if (oldReader == null || reader["otherstatus"].ToString() != oldReader["otherstatus"].ToString()) { this.map["otherstatus"] = CLRTriggers.getDoubleString(reader, "otherstatus"); }
        if (oldReader == null || reader["parentshop"].ToString() != oldReader["parentshop"].ToString()) { this.map["parentshop"] = reader["parentshop"].ToString(); }
        if (oldReader == null || reader["pay_status"].ToString() != oldReader["pay_status"].ToString()) { this.map["pay_status"] = CLRTriggers.getDoubleString(reader, "pay_status"); }
        if (oldReader == null || reader["paycode"].ToString() != oldReader["paycode"].ToString()) { this.map["paycode"] = reader["paycode"].ToString(); }
        if (oldReader == null || reader["paydesp"].ToString() != oldReader["paydesp"].ToString()) { this.map["paydesp"] = reader["paydesp"].ToString(); }
        if (oldReader == null || reader["payflag"].ToString() != oldReader["payflag"].ToString()) { this.map["payflag"] = CLRTriggers.getDoubleString(reader, "payflag"); }
        if (oldReader == null || reader["paymethod"].ToString() != oldReader["paymethod"].ToString()) { this.map["paymethod"] = reader["paymethod"].ToString(); }
        if (oldReader == null || reader["payshop"].ToString() != oldReader["payshop"].ToString()) { this.map["payshop"] = reader["payshop"].ToString(); }
        if (oldReader == null || reader["periodno"].ToString() != oldReader["periodno"].ToString()) { this.map["periodno"] = reader["periodno"].ToString(); }
        if (oldReader == null || reader["printno"].ToString() != oldReader["printno"].ToString()) { this.map["printno"] = CLRTriggers.getDoubleString(reader, "printno"); }
        if (oldReader == null || reader["quitydje"].ToString() != oldReader["quitydje"].ToString()) { this.map["quitydje"] = CLRTriggers.getDoubleString(reader, "quitydje"); }
        if (oldReader == null || reader["rebatetotal"].ToString() != oldReader["rebatetotal"].ToString()) { this.map["rebatetotal"] = CLRTriggers.getDoubleString(reader, "rebatetotal"); }
        if (oldReader == null || reader["rec_status"].ToString() != oldReader["rec_status"].ToString()) { this.map["rec_status"] = CLRTriggers.getDoubleString(reader, "rec_status"); }
        if (oldReader == null || reader["reception"].ToString() != oldReader["reception"].ToString()) { this.map["reception"] = reader["reception"].ToString(); }
        if (oldReader == null || reader["rq_check"].ToString() != oldReader["rq_check"].ToString()) { this.map["rq_check"] = reader["rq_check"].ToString(); }
        if (oldReader == null || reader["saleid"].ToString() != oldReader["saleid"].ToString()) { this.map["saleid"] = reader["saleid"].ToString(); }
        if (oldReader == null || reader["saleshop"].ToString() != oldReader["saleshop"].ToString()) { this.map["saleshop"] = reader["saleshop"].ToString(); }
        if (oldReader == null || reader["saletype"].ToString() != oldReader["saletype"].ToString()) { this.map["saletype"] = CLRTriggers.getDoubleString(reader, "saletype"); }
        if (oldReader == null || reader["sequence"].ToString() != oldReader["sequence"].ToString()) { this.map["sequence"] = CLRTriggers.getDoubleString(reader, "sequence"); }
        if (oldReader == null || reader["serverno"].ToString() != oldReader["serverno"].ToString()) { this.map["serverno"] = reader["serverno"].ToString(); }
        if (oldReader == null || reader["sex"].ToString() != oldReader["sex"].ToString()) { this.map["sex"] = reader["sex"].ToString(); }
        if (oldReader == null || reader["shiftno"].ToString() != oldReader["shiftno"].ToString()) { this.map["shiftno"] = reader["shiftno"].ToString(); }
        if (oldReader == null || reader["sttime"].ToString() != oldReader["sttime"].ToString()) { this.map["sttime"] = CLRTriggers.getDateTimeString(reader, "sttime"); }
        if (oldReader == null || reader["syscode"].ToString() != oldReader["syscode"].ToString()) { this.map["syscode"] = reader["syscode"].ToString(); }
        if (oldReader == null || reader["tableno"].ToString() != oldReader["tableno"].ToString()) { this.map["tableno"] = reader["tableno"].ToString(); }
        if (oldReader == null || reader["tableno_ext"].ToString() != oldReader["tableno_ext"].ToString()) { this.map["tableno_ext"] = reader["tableno_ext"].ToString(); }
        if (oldReader == null || reader["taxpercent"].ToString() != oldReader["taxpercent"].ToString()) { this.map["taxpercent"] = CLRTriggers.getDoubleString(reader, "taxpercent"); }
        if (oldReader == null || reader["taxtotal"].ToString() != oldReader["taxtotal"].ToString()) { this.map["taxtotal"] = CLRTriggers.getDoubleString(reader, "taxtotal"); }
        if (oldReader == null || reader["tipstotal"].ToString() != oldReader["tipstotal"].ToString()) { this.map["tipstotal"] = CLRTriggers.getDoubleString(reader, "tipstotal"); }
        if (oldReader == null || reader["totalpayable"].ToString() != oldReader["totalpayable"].ToString()) { this.map["totalpayable"] = CLRTriggers.getDoubleString(reader, "totalpayable"); }
        if (oldReader == null || reader["ydallje"].ToString() != oldReader["ydallje"].ToString()) { this.map["ydallje"] = CLRTriggers.getDoubleString(reader, "ydallje"); }
        if (oldReader == null || reader["zb_bm_ck"].ToString() != oldReader["zb_bm_ck"].ToString()) { this.map["zb_bm_ck"] = reader["zb_bm_ck"].ToString(); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {

        this.map["billcode"] = reader["billcode"].ToString();

    }

}

//fitness_cardchange代码
class fitness_cardchange : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

        if (oldReader == null || reader["cardno"].ToString() != oldReader["cardno"].ToString()) { this.map["cardno"] = reader["cardno"].ToString(); }
        if (oldReader == null || reader["enddate"].ToString() != oldReader["enddate"].ToString()) { this.map["enddate"] = CLRTriggers.getDateTimeString(reader, "enddate"); }
        if (oldReader == null || reader["FClub"].ToString() != oldReader["FClub"].ToString()) { this.map["FClub"] = reader["FClub"].ToString(); }
        if (oldReader == null || reader["fcreatedate"].ToString() != oldReader["fcreatedate"].ToString()) { this.map["fcreatedate"] = CLRTriggers.getDateTimeString(reader, "fcreatedate"); }
        if (oldReader == null || reader["fEntityNo"].ToString() != oldReader["fEntityNo"].ToString()) { this.map["fEntityNo"] = reader["fEntityNo"].ToString(); }
        if (oldReader == null || reader["fmodifydate"].ToString() != oldReader["fmodifydate"].ToString()) { this.map["fmodifydate"] = CLRTriggers.getDateTimeString(reader, "fmodifydate"); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["fUserNo"].ToString() != oldReader["fUserNo"].ToString()) { this.map["fUserNo"] = reader["fUserNo"].ToString(); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["item"].ToString() != oldReader["item"].ToString()) { this.map["item"] = CLRTriggers.getDoubleString(reader, "item"); }
        if (oldReader == null || reader["itemsno"].ToString() != oldReader["itemsno"].ToString()) { this.map["itemsno"] = reader["itemsno"].ToString(); }
        if (oldReader == null || reader["memid"].ToString() != oldReader["memid"].ToString()) { this.map["memid"] = reader["memid"].ToString(); }
        if (oldReader == null || reader["memkind"].ToString() != oldReader["memkind"].ToString()) { this.map["memkind"] = CLRTriggers.getDoubleString(reader, "memkind"); }
        if (oldReader == null || reader["memo"].ToString() != oldReader["memo"].ToString()) { this.map["memo"] = reader["memo"].ToString(); }
        if (oldReader == null || reader["memstatus"].ToString() != oldReader["memstatus"].ToString()) { this.map["memstatus"] = CLRTriggers.getDoubleString(reader, "memstatus"); }
        if (oldReader == null || reader["memstatusnew"].ToString() != oldReader["memstatusnew"].ToString()) { this.map["memstatusnew"] = CLRTriggers.getDoubleString(reader, "memstatusnew"); }
        if (oldReader == null || reader["n_last"].ToString() != oldReader["n_last"].ToString()) { this.map["n_last"] = CLRTriggers.getDoubleString(reader, "n_last"); }
        if (oldReader == null || reader["name"].ToString() != oldReader["name"].ToString()) { this.map["name"] = reader["name"].ToString(); }
        if (oldReader == null || reader["newcardno"].ToString() != oldReader["newcardno"].ToString()) { this.map["newcardno"] = reader["newcardno"].ToString(); }
        if (oldReader == null || reader["newenddate"].ToString() != oldReader["newenddate"].ToString()) { this.map["newenddate"] = CLRTriggers.getDateTimeString(reader, "newenddate"); }
        if (oldReader == null || reader["newmemkind"].ToString() != oldReader["newmemkind"].ToString()) { this.map["newmemkind"] = CLRTriggers.getDoubleString(reader, "newmemkind"); }
        if (oldReader == null || reader["newname"].ToString() != oldReader["newname"].ToString()) { this.map["newname"] = reader["newname"].ToString(); }
        if (oldReader == null || reader["newstartdate"].ToString() != oldReader["newstartdate"].ToString()) { this.map["newstartdate"] = CLRTriggers.getDateTimeString(reader, "newstartdate"); }
        if (oldReader == null || reader["optime"].ToString() != oldReader["optime"].ToString()) { this.map["optime"] = CLRTriggers.getDateTimeString(reader, "optime"); }
        if (oldReader == null || reader["paydate"].ToString() != oldReader["paydate"].ToString()) { this.map["paydate"] = CLRTriggers.getDateTimeString(reader, "paydate"); }
        if (oldReader == null || reader["price"].ToString() != oldReader["price"].ToString()) { this.map["price"] = CLRTriggers.getDoubleString(reader, "price"); }
        if (oldReader == null || reader["sale_name"].ToString() != oldReader["sale_name"].ToString()) { this.map["sale_name"] = reader["sale_name"].ToString(); }
        if (oldReader == null || reader["startdate"].ToString() != oldReader["startdate"].ToString()) { this.map["startdate"] = CLRTriggers.getDateTimeString(reader, "startdate"); }
        if (oldReader == null || reader["status"].ToString() != oldReader["status"].ToString()) { this.map["status"] = CLRTriggers.getDoubleString(reader, "status"); }
        if (oldReader == null || reader["total"].ToString() != oldReader["total"].ToString()) { this.map["total"] = CLRTriggers.getDoubleString(reader, "total"); }
        if (oldReader == null || reader["usercode"].ToString() != oldReader["usercode"].ToString()) { this.map["usercode"] = reader["usercode"].ToString(); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {

        this.map["sid"] = reader["sid"].ToString();

    }

}

//jxc_bm_ck代码
class jxc_bm_ck : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

        if (oldReader == null || reader["bm_1"].ToString() != oldReader["bm_1"].ToString()) { this.map["bm_1"] = reader["bm_1"].ToString(); }
        if (oldReader == null || reader["bm_2"].ToString() != oldReader["bm_2"].ToString()) { this.map["bm_2"] = reader["bm_2"].ToString(); }
        if (oldReader == null || reader["bm_3"].ToString() != oldReader["bm_3"].ToString()) { this.map["bm_3"] = reader["bm_3"].ToString(); }
        if (oldReader == null || reader["bm_4"].ToString() != oldReader["bm_4"].ToString()) { this.map["bm_4"] = reader["bm_4"].ToString(); }
        if (oldReader == null || reader["bm_5"].ToString() != oldReader["bm_5"].ToString()) { this.map["bm_5"] = reader["bm_5"].ToString(); }
        if (oldReader == null || reader["bm_6"].ToString() != oldReader["bm_6"].ToString()) { this.map["bm_6"] = reader["bm_6"].ToString(); }
        if (oldReader == null || reader["bz"].ToString() != oldReader["bz"].ToString()) { this.map["bz"] = reader["bz"].ToString(); }
        if (oldReader == null || reader["faddress"].ToString() != oldReader["faddress"].ToString()) { this.map["faddress"] = reader["faddress"].ToString(); }
        if (oldReader == null || reader["FClub"].ToString() != oldReader["FClub"].ToString()) { this.map["FClub"] = reader["FClub"].ToString(); }
        if (oldReader == null || reader["FContactor"].ToString() != oldReader["FContactor"].ToString()) { this.map["FContactor"] = reader["FContactor"].ToString(); }
        if (oldReader == null || reader["fcountrycode"].ToString() != oldReader["fcountrycode"].ToString()) { this.map["fcountrycode"] = reader["fcountrycode"].ToString(); }
        if (oldReader == null || reader["fcreatedate"].ToString() != oldReader["fcreatedate"].ToString()) { this.map["fcreatedate"] = CLRTriggers.getDateTimeString(reader, "fcreatedate"); }
        if (oldReader == null || reader["fDeptNo"].ToString() != oldReader["fDeptNo"].ToString()) { this.map["fDeptNo"] = reader["fDeptNo"].ToString(); }
        if (oldReader == null || reader["fdescription"].ToString() != oldReader["fdescription"].ToString()) { this.map["fdescription"] = reader["fdescription"].ToString(); }
        if (oldReader == null || reader["fentityNo"].ToString() != oldReader["fentityNo"].ToString()) { this.map["fentityNo"] = reader["fentityNo"].ToString(); }
        if (oldReader == null || reader["fifczzb"].ToString() != oldReader["fifczzb"].ToString()) { this.map["fifczzb"] = CLRTriggers.getDoubleString(reader, "fifczzb"); }
        if (oldReader == null || reader["fiffskc"].ToString() != oldReader["fiffskc"].ToString()) { this.map["fiffskc"] = CLRTriggers.getDoubleString(reader, "fiffskc"); }
        if (oldReader == null || reader["fmodifydate"].ToString() != oldReader["fmodifydate"].ToString()) { this.map["fmodifydate"] = CLRTriggers.getDateTimeString(reader, "fmodifydate"); }
        if (oldReader == null || reader["fNo"].ToString() != oldReader["fNo"].ToString()) { this.map["fNo"] = reader["fNo"].ToString(); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["ftelephone"].ToString() != oldReader["ftelephone"].ToString()) { this.map["ftelephone"] = reader["ftelephone"].ToString(); }
        if (oldReader == null || reader["fterritorycode"].ToString() != oldReader["fterritorycode"].ToString()) { this.map["fterritorycode"] = reader["fterritorycode"].ToString(); }
        if (oldReader == null || reader["fUserNo"].ToString() != oldReader["fUserNo"].ToString()) { this.map["fUserNo"] = reader["fUserNo"].ToString(); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["jjff"].ToString() != oldReader["jjff"].ToString()) { this.map["jjff"] = CLRTriggers.getDoubleString(reader, "jjff"); }
        if (oldReader == null || reader["js"].ToString() != oldReader["js"].ToString()) { this.map["js"] = CLRTriggers.getDoubleString(reader, "js"); }
        if (oldReader == null || reader["mc"].ToString() != oldReader["mc"].ToString()) { this.map["mc"] = reader["mc"].ToString(); }
        if (oldReader == null || reader["n_last"].ToString() != oldReader["n_last"].ToString()) { this.map["n_last"] = CLRTriggers.getDoubleString(reader, "n_last"); }
        if (oldReader == null || reader["other"].ToString() != oldReader["other"].ToString()) { this.map["other"] = reader["other"].ToString(); }
        if (oldReader == null || reader["pcno"].ToString() != oldReader["pcno"].ToString()) { this.map["pcno"] = reader["pcno"].ToString(); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {

        this.map["bm"] = reader["bm"].ToString();

    }

}

//memcardlog代码
class memcardlog : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

        if (oldReader == null || reader["billcode"].ToString() != oldReader["billcode"].ToString()) { this.map["billcode"] = reader["billcode"].ToString(); }
        if (oldReader == null || reader["cardbalancesp"].ToString() != oldReader["cardbalancesp"].ToString()) { this.map["cardbalancesp"] = CLRTriggers.getDoubleString(reader, "cardbalancesp"); }
        if (oldReader == null || reader["cardbalancezs"].ToString() != oldReader["cardbalancezs"].ToString()) { this.map["cardbalancezs"] = CLRTriggers.getDoubleString(reader, "cardbalancezs"); }
        if (oldReader == null || reader["cardno"].ToString() != oldReader["cardno"].ToString()) { this.map["cardno"] = reader["cardno"].ToString(); }
        if (oldReader == null || reader["facctype"].ToString() != oldReader["facctype"].ToString()) { this.map["facctype"] = CLRTriggers.getDoubleString(reader, "facctype"); }
        if (oldReader == null || reader["FClub"].ToString() != oldReader["FClub"].ToString()) { this.map["FClub"] = reader["FClub"].ToString(); }
        if (oldReader == null || reader["fcreatedate"].ToString() != oldReader["fcreatedate"].ToString()) { this.map["fcreatedate"] = CLRTriggers.getDateTimeString(reader, "fcreatedate"); }
        if (oldReader == null || reader["fEntityNo"].ToString() != oldReader["fEntityNo"].ToString()) { this.map["fEntityNo"] = reader["fEntityNo"].ToString(); }
        if (oldReader == null || reader["fifhyxy"].ToString() != oldReader["fifhyxy"].ToString()) { this.map["fifhyxy"] = CLRTriggers.getDoubleString(reader, "fifhyxy"); }
        if (oldReader == null || reader["fisnew"].ToString() != oldReader["fisnew"].ToString()) { this.map["fisnew"] = CLRTriggers.getDoubleString(reader, "fisnew"); }
        if (oldReader == null || reader["fmodifydate"].ToString() != oldReader["fmodifydate"].ToString()) { this.map["fmodifydate"] = CLRTriggers.getDateTimeString(reader, "fmodifydate"); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["fUserNo"].ToString() != oldReader["fUserNo"].ToString()) { this.map["fUserNo"] = reader["fUserNo"].ToString(); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["logdate"].ToString() != oldReader["logdate"].ToString()) { this.map["logdate"] = CLRTriggers.getDateTimeString(reader, "logdate"); }
        if (oldReader == null || reader["memid"].ToString() != oldReader["memid"].ToString()) { this.map["memid"] = reader["memid"].ToString(); }
        if (oldReader == null || reader["memo"].ToString() != oldReader["memo"].ToString()) { this.map["memo"] = reader["memo"].ToString(); }
        if (oldReader == null || reader["n_last"].ToString() != oldReader["n_last"].ToString()) { this.map["n_last"] = CLRTriggers.getDoubleString(reader, "n_last"); }
        if (oldReader == null || reader["name"].ToString() != oldReader["name"].ToString()) { this.map["name"] = reader["name"].ToString(); }
        if (oldReader == null || reader["otype"].ToString() != oldReader["otype"].ToString()) { this.map["otype"] = reader["otype"].ToString(); }
        if (oldReader == null || reader["outin"].ToString() != oldReader["outin"].ToString()) { this.map["outin"] = reader["outin"].ToString(); }
        if (oldReader == null || reader["present"].ToString() != oldReader["present"].ToString()) { this.map["present"] = CLRTriggers.getDoubleString(reader, "present"); }
        if (oldReader == null || reader["price"].ToString() != oldReader["price"].ToString()) { this.map["price"] = CLRTriggers.getDoubleString(reader, "price"); }
        if (oldReader == null || reader["rec_status"].ToString() != oldReader["rec_status"].ToString()) { this.map["rec_status"] = CLRTriggers.getDoubleString(reader, "rec_status"); }
        if (oldReader == null || reader["sale_name"].ToString() != oldReader["sale_name"].ToString()) { this.map["sale_name"] = reader["sale_name"].ToString(); }
        if (oldReader == null || reader["subclub"].ToString() != oldReader["subclub"].ToString()) { this.map["subclub"] = reader["subclub"].ToString(); }
        if (oldReader == null || reader["time"].ToString() != oldReader["time"].ToString()) { this.map["time"] = CLRTriggers.getDoubleString(reader, "time"); }
        if (oldReader == null || reader["timebalance"].ToString() != oldReader["timebalance"].ToString()) { this.map["timebalance"] = CLRTriggers.getDoubleString(reader, "timebalance"); }
        if (oldReader == null || reader["timeitem"].ToString() != oldReader["timeitem"].ToString()) { this.map["timeitem"] = reader["timeitem"].ToString(); }
        if (oldReader == null || reader["timesid"].ToString() != oldReader["timesid"].ToString()) { this.map["timesid"] = reader["timesid"].ToString(); }
        if (oldReader == null || reader["total"].ToString() != oldReader["total"].ToString()) { this.map["total"] = CLRTriggers.getDoubleString(reader, "total"); }
        if (oldReader == null || reader["totalbalance"].ToString() != oldReader["totalbalance"].ToString()) { this.map["totalbalance"] = CLRTriggers.getDoubleString(reader, "totalbalance"); }
        if (oldReader == null || reader["type"].ToString() != oldReader["type"].ToString()) { this.map["type"] = CLRTriggers.getDoubleString(reader, "type"); }
        if (oldReader == null || reader["usercode"].ToString() != oldReader["usercode"].ToString()) { this.map["usercode"] = reader["usercode"].ToString(); }
        if (oldReader == null || reader["usertime"].ToString() != oldReader["usertime"].ToString()) { this.map["usertime"] = CLRTriggers.getDateTimeString(reader, "usertime"); }
        if (oldReader == null || reader["workshop"].ToString() != oldReader["workshop"].ToString()) { this.map["workshop"] = reader["workshop"].ToString(); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {

        this.map["sid"] = reader["sid"].ToString();

    }

}

//mem_member代码
class mem_member : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {
        if (oldReader == null || reader["m_id"].ToString() != oldReader["m_id"].ToString()) { this.map["new_m_id"] = reader["m_id"].ToString(); }
        if (oldReader == null || reader["account_tips"].ToString() != oldReader["account_tips"].ToString()) { this.map["account_tips"] = CLRTriggers.getDoubleString(reader, "account_tips"); }
        if (oldReader == null || reader["address"].ToString() != oldReader["address"].ToString()) { this.map["address"] = reader["address"].ToString(); }
        if (oldReader == null || reader["application"].ToString() != oldReader["application"].ToString()) { this.map["application"] = CLRTriggers.getDateTimeString(reader, "application"); }
        if (oldReader == null || reader["autho_date"].ToString() != oldReader["autho_date"].ToString()) { this.map["autho_date"] = CLRTriggers.getDateTimeString(reader, "autho_date"); }
        if (oldReader == null || reader["autho_id"].ToString() != oldReader["autho_id"].ToString()) { this.map["autho_id"] = CLRTriggers.getDoubleString(reader, "autho_id"); }
        if (oldReader == null || reader["autho_indate"].ToString() != oldReader["autho_indate"].ToString()) { this.map["autho_indate"] = CLRTriggers.getDateTimeString(reader, "autho_indate"); }
        if (oldReader == null || reader["autho_name"].ToString() != oldReader["autho_name"].ToString()) { this.map["autho_name"] = reader["autho_name"].ToString(); }
        if (oldReader == null || reader["autho_no"].ToString() != oldReader["autho_no"].ToString()) { this.map["autho_no"] = reader["autho_no"].ToString(); }
        if (oldReader == null || reader["autho_type"].ToString() != oldReader["autho_type"].ToString()) { this.map["autho_type"] = CLRTriggers.getDoubleString(reader, "autho_type"); }
        if (oldReader == null || reader["ballbagnum"].ToString() != oldReader["ballbagnum"].ToString()) { this.map["ballbagnum"] = reader["ballbagnum"].ToString(); }
        if (oldReader == null || reader["bank_name"].ToString() != oldReader["bank_name"].ToString()) { this.map["bank_name"] = reader["bank_name"].ToString(); }
        if (oldReader == null || reader["beeper"].ToString() != oldReader["beeper"].ToString()) { this.map["beeper"] = reader["beeper"].ToString(); }
        if (oldReader == null || reader["billtocard"].ToString() != oldReader["billtocard"].ToString()) { this.map["billtocard"] = reader["billtocard"].ToString(); }
        if (oldReader == null || reader["birth_zone"].ToString() != oldReader["birth_zone"].ToString()) { this.map["birth_zone"] = reader["birth_zone"].ToString(); }
        if (oldReader == null || reader["birthday"].ToString() != oldReader["birthday"].ToString()) { this.map["birthday"] = CLRTriggers.getDateTimeString(reader, "birthday"); }
        if (oldReader == null || reader["blood_type"].ToString() != oldReader["blood_type"].ToString()) { this.map["blood_type"] = reader["blood_type"].ToString(); }
        if (oldReader == null || reader["business_prop"].ToString() != oldReader["business_prop"].ToString()) { this.map["business_prop"] = reader["business_prop"].ToString(); }
        if (oldReader == null || reader["buytime"].ToString() != oldReader["buytime"].ToString()) { this.map["buytime"] = CLRTriggers.getDateTimeString(reader, "buytime"); }
        if (oldReader == null || reader["call_times"].ToString() != oldReader["call_times"].ToString()) { this.map["call_times"] = CLRTriggers.getDoubleString(reader, "call_times"); }
        if (oldReader == null || reader["cancelled_date"].ToString() != oldReader["cancelled_date"].ToString()) { this.map["cancelled_date"] = CLRTriggers.getDateTimeString(reader, "cancelled_date"); }
        if (oldReader == null || reader["car"].ToString() != oldReader["car"].ToString()) { this.map["car"] = reader["car"].ToString(); }
        if (oldReader == null || reader["card_date"].ToString() != oldReader["card_date"].ToString()) { this.map["card_date"] = CLRTriggers.getDateTimeString(reader, "card_date"); }
        if (oldReader == null || reader["card_ext"].ToString() != oldReader["card_ext"].ToString()) { this.map["card_ext"] = reader["card_ext"].ToString(); }
        if (oldReader == null || reader["cardbalance"].ToString() != oldReader["cardbalance"].ToString()) { this.map["cardbalance"] = CLRTriggers.getDoubleString(reader, "cardbalance"); }
        if (oldReader == null || reader["cardbalancezs"].ToString() != oldReader["cardbalancezs"].ToString()) { this.map["cardbalancezs"] = CLRTriggers.getDoubleString(reader, "cardbalancezs"); }
        if (oldReader == null || reader["cardhold"].ToString() != oldReader["cardhold"].ToString()) { this.map["cardhold"] = CLRTriggers.getDoubleString(reader, "cardhold"); }
        if (oldReader == null || reader["cardsno"].ToString() != oldReader["cardsno"].ToString()) { this.map["cardsno"] = CLRTriggers.getDoubleString(reader, "cardsno"); }
        if (oldReader == null || reader["certification"].ToString() != oldReader["certification"].ToString()) { this.map["certification"] = reader["certification"].ToString(); }
        if (oldReader == null || reader["certno"].ToString() != oldReader["certno"].ToString()) { this.map["certno"] = reader["certno"].ToString(); }
        if (oldReader == null || reader["check_no"].ToString() != oldReader["check_no"].ToString()) { this.map["check_no"] = reader["check_no"].ToString(); }
        if (oldReader == null || reader["children"].ToString() != oldReader["children"].ToString()) { this.map["children"] = reader["children"].ToString(); }
        if (oldReader == null || reader["city"].ToString() != oldReader["city"].ToString()) { this.map["city"] = reader["city"].ToString(); }
        if (oldReader == null || reader["closedate"].ToString() != oldReader["closedate"].ToString()) { this.map["closedate"] = CLRTriggers.getDateTimeString(reader, "closedate"); }
        if (oldReader == null || reader["club_id"].ToString() != oldReader["club_id"].ToString()) { this.map["club_id"] = reader["club_id"].ToString(); }
        if (oldReader == null || reader["co_address"].ToString() != oldReader["co_address"].ToString()) { this.map["co_address"] = reader["co_address"].ToString(); }
        if (oldReader == null || reader["co_attn"].ToString() != oldReader["co_attn"].ToString()) { this.map["co_attn"] = reader["co_attn"].ToString(); }
        if (oldReader == null || reader["co_attn_2"].ToString() != oldReader["co_attn_2"].ToString()) { this.map["co_attn_2"] = reader["co_attn_2"].ToString(); }
        if (oldReader == null || reader["co_beeper"].ToString() != oldReader["co_beeper"].ToString()) { this.map["co_beeper"] = reader["co_beeper"].ToString(); }
        if (oldReader == null || reader["co_countrycat"].ToString() != oldReader["co_countrycat"].ToString()) { this.map["co_countrycat"] = reader["co_countrycat"].ToString(); }
        if (oldReader == null || reader["co_departmemt"].ToString() != oldReader["co_departmemt"].ToString()) { this.map["co_departmemt"] = reader["co_departmemt"].ToString(); }
        if (oldReader == null || reader["co_enterendate"].ToString() != oldReader["co_enterendate"].ToString()) { this.map["co_enterendate"] = CLRTriggers.getDateTimeString(reader, "co_enterendate"); }
        if (oldReader == null || reader["co_enterfee"].ToString() != oldReader["co_enterfee"].ToString()) { this.map["co_enterfee"] = CLRTriggers.getDoubleString(reader, "co_enterfee"); }
        if (oldReader == null || reader["co_enterpaydate"].ToString() != oldReader["co_enterpaydate"].ToString()) { this.map["co_enterpaydate"] = CLRTriggers.getDateTimeString(reader, "co_enterpaydate"); }
        if (oldReader == null || reader["co_fax"].ToString() != oldReader["co_fax"].ToString()) { this.map["co_fax"] = reader["co_fax"].ToString(); }
        if (oldReader == null || reader["co_mobil"].ToString() != oldReader["co_mobil"].ToString()) { this.map["co_mobil"] = reader["co_mobil"].ToString(); }
        if (oldReader == null || reader["co_namec"].ToString() != oldReader["co_namec"].ToString()) { this.map["co_namec"] = reader["co_namec"].ToString(); }
        if (oldReader == null || reader["co_namee"].ToString() != oldReader["co_namee"].ToString()) { this.map["co_namee"] = reader["co_namee"].ToString(); }
        if (oldReader == null || reader["co_office"].ToString() != oldReader["co_office"].ToString()) { this.map["co_office"] = reader["co_office"].ToString(); }
        if (oldReader == null || reader["co_paiedamt"].ToString() != oldReader["co_paiedamt"].ToString()) { this.map["co_paiedamt"] = CLRTriggers.getDoubleString(reader, "co_paiedamt"); }
        if (oldReader == null || reader["co_paiedperiods"].ToString() != oldReader["co_paiedperiods"].ToString()) { this.map["co_paiedperiods"] = CLRTriggers.getDoubleString(reader, "co_paiedperiods"); }
        if (oldReader == null || reader["co_periods"].ToString() != oldReader["co_periods"].ToString()) { this.map["co_periods"] = CLRTriggers.getDoubleString(reader, "co_periods"); }
        if (oldReader == null || reader["co_poscode"].ToString() != oldReader["co_poscode"].ToString()) { this.map["co_poscode"] = reader["co_poscode"].ToString(); }
        if (oldReader == null || reader["co_position"].ToString() != oldReader["co_position"].ToString()) { this.map["co_position"] = reader["co_position"].ToString(); }
        if (oldReader == null || reader["co_postcode"].ToString() != oldReader["co_postcode"].ToString()) { this.map["co_postcode"] = reader["co_postcode"].ToString(); }
        if (oldReader == null || reader["co_prof"].ToString() != oldReader["co_prof"].ToString()) { this.map["co_prof"] = reader["co_prof"].ToString(); }
        if (oldReader == null || reader["co_prop"].ToString() != oldReader["co_prop"].ToString()) { this.map["co_prop"] = reader["co_prop"].ToString(); }
        if (oldReader == null || reader["co_rep"].ToString() != oldReader["co_rep"].ToString()) { this.map["co_rep"] = reader["co_rep"].ToString(); }
        if (oldReader == null || reader["co_security"].ToString() != oldReader["co_security"].ToString()) { this.map["co_security"] = CLRTriggers.getDoubleString(reader, "co_security"); }
        if (oldReader == null || reader["co_tel"].ToString() != oldReader["co_tel"].ToString()) { this.map["co_tel"] = reader["co_tel"].ToString(); }
        if (oldReader == null || reader["cohap"].ToString() != oldReader["cohap"].ToString()) { this.map["cohap"] = CLRTriggers.getDoubleString(reader, "cohap"); }
        if (oldReader == null || reader["company_buy"].ToString() != oldReader["company_buy"].ToString()) { this.map["company_buy"] = CLRTriggers.getDoubleString(reader, "company_buy"); }
        if (oldReader == null || reader["company_depute"].ToString() != oldReader["company_depute"].ToString()) { this.map["company_depute"] = reader["company_depute"].ToString(); }
        if (oldReader == null || reader["company_follows"].ToString() != oldReader["company_follows"].ToString()) { this.map["company_follows"] = CLRTriggers.getDoubleString(reader, "company_follows"); }
        if (oldReader == null || reader["company_no"].ToString() != oldReader["company_no"].ToString()) { this.map["company_no"] = reader["company_no"].ToString(); }
        if (oldReader == null || reader["company_scale"].ToString() != oldReader["company_scale"].ToString()) { this.map["company_scale"] = reader["company_scale"].ToString(); }
        if (oldReader == null || reader["company_trade"].ToString() != oldReader["company_trade"].ToString()) { this.map["company_trade"] = reader["company_trade"].ToString(); }
        if (oldReader == null || reader["consum_amts"].ToString() != oldReader["consum_amts"].ToString()) { this.map["consum_amts"] = CLRTriggers.getDoubleString(reader, "consum_amts"); }
        if (oldReader == null || reader["consum_times"].ToString() != oldReader["consum_times"].ToString()) { this.map["consum_times"] = CLRTriggers.getDoubleString(reader, "consum_times"); }
        if (oldReader == null || reader["contactperiod"].ToString() != oldReader["contactperiod"].ToString()) { this.map["contactperiod"] = reader["contactperiod"].ToString(); }
        if (oldReader == null || reader["contactway"].ToString() != oldReader["contactway"].ToString()) { this.map["contactway"] = reader["contactway"].ToString(); }
        if (oldReader == null || reader["coupon"].ToString() != oldReader["coupon"].ToString()) { this.map["coupon"] = reader["coupon"].ToString(); }
        if (oldReader == null || reader["couponno"].ToString() != oldReader["couponno"].ToString()) { this.map["couponno"] = reader["couponno"].ToString(); }
        if (oldReader == null || reader["couponpay"].ToString() != oldReader["couponpay"].ToString()) { this.map["couponpay"] = CLRTriggers.getDoubleString(reader, "couponpay"); }
        if (oldReader == null || reader["coupontype"].ToString() != oldReader["coupontype"].ToString()) { this.map["coupontype"] = CLRTriggers.getDoubleString(reader, "coupontype"); }
        if (oldReader == null || reader["credit_limit"].ToString() != oldReader["credit_limit"].ToString()) { this.map["credit_limit"] = CLRTriggers.getDoubleString(reader, "credit_limit"); }
        if (oldReader == null || reader["data_input"].ToString() != oldReader["data_input"].ToString()) { this.map["data_input"] = CLRTriggers.getDateTimeString(reader, "data_input"); }
        if (oldReader == null || reader["depositcard"].ToString() != oldReader["depositcard"].ToString()) { this.map["depositcard"] = CLRTriggers.getDoubleString(reader, "depositcard"); }
        if (oldReader == null || reader["dqcs"].ToString() != oldReader["dqcs"].ToString()) { this.map["dqcs"] = CLRTriggers.getDoubleString(reader, "dqcs"); }
        if (oldReader == null || reader["e_mail"].ToString() != oldReader["e_mail"].ToString()) { this.map["e_mail"] = reader["e_mail"].ToString(); }
        if (oldReader == null || reader["edu_grade"].ToString() != oldReader["edu_grade"].ToString()) { this.map["edu_grade"] = reader["edu_grade"].ToString(); }
        if (oldReader == null || reader["endmonthdate"].ToString() != oldReader["endmonthdate"].ToString()) { this.map["endmonthdate"] = CLRTriggers.getDateTimeString(reader, "endmonthdate"); }
        if (oldReader == null || reader["expiry_date"].ToString() != oldReader["expiry_date"].ToString()) { this.map["expiry_date"] = CLRTriggers.getDateTimeString(reader, "expiry_date"); }
        if (oldReader == null || reader["factdate"].ToString() != oldReader["factdate"].ToString()) { this.map["factdate"] = CLRTriggers.getDateTimeString(reader, "factdate"); }
        if (oldReader == null || reader["factive"].ToString() != oldReader["factive"].ToString()) { this.map["factive"] = CLRTriggers.getDoubleString(reader, "factive"); }
        if (oldReader == null || reader["factivedate"].ToString() != oldReader["factivedate"].ToString()) { this.map["factivedate"] = CLRTriggers.getDateTimeString(reader, "factivedate"); }
        if (oldReader == null || reader["familys"].ToString() != oldReader["familys"].ToString()) { this.map["familys"] = CLRTriggers.getDoubleString(reader, "familys"); }
        if (oldReader == null || reader["fax"].ToString() != oldReader["fax"].ToString()) { this.map["fax"] = reader["fax"].ToString(); }
        if (oldReader == null || reader["fbillNo"].ToString() != oldReader["fbillNo"].ToString()) { this.map["fbillNo"] = reader["fbillNo"].ToString(); }
        if (oldReader == null || reader["FClub"].ToString() != oldReader["FClub"].ToString()) { this.map["FClub"] = reader["FClub"].ToString(); }
        if (oldReader == null || reader["fEntityNo"].ToString() != oldReader["fEntityNo"].ToString()) { this.map["fEntityNo"] = reader["fEntityNo"].ToString(); }
        if (oldReader == null || reader["fgzjeall"].ToString() != oldReader["fgzjeall"].ToString()) { this.map["fgzjeall"] = CLRTriggers.getDoubleString(reader, "fgzjeall"); }
        if (oldReader == null || reader["fhyinmpno"].ToString() != oldReader["fhyinmpno"].ToString()) { this.map["fhyinmpno"] = reader["fhyinmpno"].ToString(); }
        if (oldReader == null || reader["fifygmp"].ToString() != oldReader["fifygmp"].ToString()) { this.map["fifygmp"] = CLRTriggers.getDoubleString(reader, "fifygmp"); }
        if (oldReader == null || reader["first_mid"].ToString() != oldReader["first_mid"].ToString()) { this.map["first_mid"] = reader["first_mid"].ToString(); }
        if (oldReader == null || reader["fnewhyje"].ToString() != oldReader["fnewhyje"].ToString()) { this.map["fnewhyje"] = CLRTriggers.getDoubleString(reader, "fnewhyje"); }
        if (oldReader == null || reader["found_date"].ToString() != oldReader["found_date"].ToString()) { this.map["found_date"] = CLRTriggers.getDateTimeString(reader, "found_date"); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["fpowerdoor"].ToString() != oldReader["fpowerdoor"].ToString()) { this.map["fpowerdoor"] = CLRTriggers.getDoubleString(reader, "fpowerdoor"); }
        if (oldReader == null || reader["from_city"].ToString() != oldReader["from_city"].ToString()) { this.map["from_city"] = reader["from_city"].ToString(); }
        if (oldReader == null || reader["from_country"].ToString() != oldReader["from_country"].ToString()) { this.map["from_country"] = reader["from_country"].ToString(); }
        if (oldReader == null || reader["from_zone"].ToString() != oldReader["from_zone"].ToString()) { this.map["from_zone"] = reader["from_zone"].ToString(); }
        if (oldReader == null || reader["Fstatustype"].ToString() != oldReader["Fstatustype"].ToString()) { this.map["Fstatustype"] = CLRTriggers.getDoubleString(reader, "Fstatustype"); }
        if (oldReader == null || reader["fstudentno"].ToString() != oldReader["fstudentno"].ToString()) { this.map["fstudentno"] = reader["fstudentno"].ToString(); }
        if (oldReader == null || reader["ftickh"].ToString() != oldReader["ftickh"].ToString()) { this.map["ftickh"] = reader["ftickh"].ToString(); }
        if (oldReader == null || reader["fvisibleacc"].ToString() != oldReader["fvisibleacc"].ToString()) { this.map["fvisibleacc"] = CLRTriggers.getDoubleString(reader, "fvisibleacc"); }
        if (oldReader == null || reader["fyjje"].ToString() != oldReader["fyjje"].ToString()) { this.map["fyjje"] = CLRTriggers.getDoubleString(reader, "fyjje"); }
        if (oldReader == null || reader["handledby"].ToString() != oldReader["handledby"].ToString()) { this.map["handledby"] = reader["handledby"].ToString(); }
        if (oldReader == null || reader["hcap"].ToString() != oldReader["hcap"].ToString()) { this.map["hcap"] = CLRTriggers.getDoubleString(reader, "hcap"); }
        if (oldReader == null || reader["hcap_refer"].ToString() != oldReader["hcap_refer"].ToString()) { this.map["hcap_refer"] = CLRTriggers.getDoubleString(reader, "hcap_refer"); }
        if (oldReader == null || reader["hobby"].ToString() != oldReader["hobby"].ToString()) { this.map["hobby"] = reader["hobby"].ToString(); }
        if (oldReader == null || reader["home_page"].ToString() != oldReader["home_page"].ToString()) { this.map["home_page"] = reader["home_page"].ToString(); }
        if (oldReader == null || reader["homeaddr"].ToString() != oldReader["homeaddr"].ToString()) { this.map["homeaddr"] = reader["homeaddr"].ToString(); }
        if (oldReader == null || reader["homepostcode"].ToString() != oldReader["homepostcode"].ToString()) { this.map["homepostcode"] = reader["homepostcode"].ToString(); }
        if (oldReader == null || reader["hometel"].ToString() != oldReader["hometel"].ToString()) { this.map["hometel"] = reader["hometel"].ToString(); }
        if (oldReader == null || reader["housebank"].ToString() != oldReader["housebank"].ToString()) { this.map["housebank"] = reader["housebank"].ToString(); }
        if (oldReader == null || reader["houseid"].ToString() != oldReader["houseid"].ToString()) { this.map["houseid"] = reader["houseid"].ToString(); }
        if (oldReader == null || reader["housemoneytype"].ToString() != oldReader["housemoneytype"].ToString()) { this.map["housemoneytype"] = reader["housemoneytype"].ToString(); }
        if (oldReader == null || reader["housesalemoney"].ToString() != oldReader["housesalemoney"].ToString()) { this.map["housesalemoney"] = CLRTriggers.getIntString(reader, "housesalemoney"); }
        if (oldReader == null || reader["housetype"].ToString() != oldReader["housetype"].ToString()) { this.map["housetype"] = reader["housetype"].ToString(); }
        if (oldReader == null || reader["iccard_no"].ToString() != oldReader["iccard_no"].ToString()) { this.map["iccard_no"] = reader["iccard_no"].ToString(); }
        if (oldReader == null || reader["id"].ToString() != oldReader["id"].ToString()) { this.map["id"] = reader["id"].ToString(); }
        if (oldReader == null || reader["if_closedate"].ToString() != oldReader["if_closedate"].ToString()) { this.map["if_closedate"] = reader["if_closedate"].ToString(); }
        if (oldReader == null || reader["if_hide"].ToString() != oldReader["if_hide"].ToString()) { this.map["if_hide"] = CLRTriggers.getDoubleString(reader, "if_hide"); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["ifhyyjje"].ToString() != oldReader["ifhyyjje"].ToString()) { this.map["ifhyyjje"] = CLRTriggers.getDoubleString(reader, "ifhyyjje"); }
        if (oldReader == null || reader["incomes"].ToString() != oldReader["incomes"].ToString()) { this.map["incomes"] = CLRTriggers.getDoubleString(reader, "incomes"); }
        if (oldReader == null || reader["introdu_iden"].ToString() != oldReader["introdu_iden"].ToString()) { this.map["introdu_iden"] = reader["introdu_iden"].ToString(); }
        if (oldReader == null || reader["introdu_memid"].ToString() != oldReader["introdu_memid"].ToString()) { this.map["introdu_memid"] = reader["introdu_memid"].ToString(); }
        if (oldReader == null || reader["introducer"].ToString() != oldReader["introducer"].ToString()) { this.map["introducer"] = reader["introducer"].ToString(); }
        if (oldReader == null || reader["introdusid"].ToString() != oldReader["introdusid"].ToString()) { this.map["introdusid"] = reader["introdusid"].ToString(); }
        if (oldReader == null || reader["issue_card"].ToString() != oldReader["issue_card"].ToString()) { this.map["issue_card"] = CLRTriggers.getDoubleString(reader, "issue_card"); }
        if (oldReader == null || reader["issue_date"].ToString() != oldReader["issue_date"].ToString()) { this.map["issue_date"] = CLRTriggers.getDateTimeString(reader, "issue_date"); }
        if (oldReader == null || reader["jecountall"].ToString() != oldReader["jecountall"].ToString()) { this.map["jecountall"] = CLRTriggers.getDoubleString(reader, "jecountall"); }
        if (oldReader == null || reader["joindate"].ToString() != oldReader["joindate"].ToString()) { this.map["joindate"] = CLRTriggers.getDateTimeString(reader, "joindate"); }
        if (oldReader == null || reader["jrcs"].ToString() != oldReader["jrcs"].ToString()) { this.map["jrcs"] = CLRTriggers.getDoubleString(reader, "jrcs"); }
        if (oldReader == null || reader["language"].ToString() != oldReader["language"].ToString()) { this.map["language"] = reader["language"].ToString(); }
        if (oldReader == null || reader["lease_endate"].ToString() != oldReader["lease_endate"].ToString()) { this.map["lease_endate"] = CLRTriggers.getDateTimeString(reader, "lease_endate"); }
        if (oldReader == null || reader["link_no"].ToString() != oldReader["link_no"].ToString()) { this.map["link_no"] = reader["link_no"].ToString(); }
        if (oldReader == null || reader["linkman"].ToString() != oldReader["linkman"].ToString()) { this.map["linkman"] = reader["linkman"].ToString(); }
        if (oldReader == null || reader["linktime"].ToString() != oldReader["linktime"].ToString()) { this.map["linktime"] = CLRTriggers.getDateTimeString(reader, "linktime"); }
        if (oldReader == null || reader["m_id_type"].ToString() != oldReader["m_id_type"].ToString()) { this.map["m_id_type"] = CLRTriggers.getDoubleString(reader, "m_id_type"); }
        if (oldReader == null || reader["mailto"].ToString() != oldReader["mailto"].ToString()) { this.map["mailto"] = CLRTriggers.getDoubleString(reader, "mailto"); }
        if (oldReader == null || reader["mailto_label"].ToString() != oldReader["mailto_label"].ToString()) { this.map["mailto_label"] = CLRTriggers.getDoubleString(reader, "mailto_label"); }
        if (oldReader == null || reader["mailto_magazine"].ToString() != oldReader["mailto_magazine"].ToString()) { this.map["mailto_magazine"] = CLRTriggers.getDoubleString(reader, "mailto_magazine"); }
        if (oldReader == null || reader["main_id"].ToString() != oldReader["main_id"].ToString()) { this.map["main_id"] = reader["main_id"].ToString(); }
        if (oldReader == null || reader["maritus"].ToString() != oldReader["maritus"].ToString()) { this.map["maritus"] = CLRTriggers.getDoubleString(reader, "maritus"); }
        if (oldReader == null || reader["marrydate"].ToString() != oldReader["marrydate"].ToString()) { this.map["marrydate"] = CLRTriggers.getDateTimeString(reader, "marrydate"); }
        if (oldReader == null || reader["master_language"].ToString() != oldReader["master_language"].ToString()) { this.map["master_language"] = reader["master_language"].ToString(); }
        if (oldReader == null || reader["mcredit_limit"].ToString() != oldReader["mcredit_limit"].ToString()) { this.map["mcredit_limit"] = CLRTriggers.getDoubleString(reader, "mcredit_limit"); }
        if (oldReader == null || reader["mem_id"].ToString() != oldReader["mem_id"].ToString()) { this.map["mem_id"] = CLRTriggers.getDoubleString(reader, "mem_id"); }
        if (oldReader == null || reader["mem_iden"].ToString() != oldReader["mem_iden"].ToString()) { this.map["mem_iden"] = reader["mem_iden"].ToString(); }
        if (oldReader == null || reader["mem_owes"].ToString() != oldReader["mem_owes"].ToString()) { this.map["mem_owes"] = CLRTriggers.getDoubleString(reader, "mem_owes"); }
        if (oldReader == null || reader["mem_password"].ToString() != oldReader["mem_password"].ToString()) { this.map["mem_password"] = reader["mem_password"].ToString(); }
        if (oldReader == null || reader["mem_password1"].ToString() != oldReader["mem_password1"].ToString()) { this.map["mem_password1"] = reader["mem_password1"].ToString(); }
        if (oldReader == null || reader["mem_paytype"].ToString() != oldReader["mem_paytype"].ToString()) { this.map["mem_paytype"] = reader["mem_paytype"].ToString(); }
        if (oldReader == null || reader["mem_period"].ToString() != oldReader["mem_period"].ToString()) { this.map["mem_period"] = CLRTriggers.getDoubleString(reader, "mem_period"); }
        if (oldReader == null || reader["memberkind"].ToString() != oldReader["memberkind"].ToString()) { this.map["memberkind"] = CLRTriggers.getDoubleString(reader, "memberkind"); }
        if (oldReader == null || reader["mfee_money"].ToString() != oldReader["mfee_money"].ToString()) { this.map["mfee_money"] = reader["mfee_money"].ToString(); }
        if (oldReader == null || reader["mfee_paiedamt"].ToString() != oldReader["mfee_paiedamt"].ToString()) { this.map["mfee_paiedamt"] = CLRTriggers.getDoubleString(reader, "mfee_paiedamt"); }
        if (oldReader == null || reader["mobilphone"].ToString() != oldReader["mobilphone"].ToString()) { this.map["mobilphone"] = reader["mobilphone"].ToString(); }
        if (oldReader == null || reader["modify"].ToString() != oldReader["modify"].ToString()) { this.map["modify"] = reader["modify"].ToString(); }
        if (oldReader == null || reader["modifytime"].ToString() != oldReader["modifytime"].ToString()) { this.map["modifytime"] = CLRTriggers.getDateTimeString(reader, "modifytime"); }
        if (oldReader == null || reader["money_id"].ToString() != oldReader["money_id"].ToString()) { this.map["money_id"] = reader["money_id"].ToString(); }
        if (oldReader == null || reader["monthfee"].ToString() != oldReader["monthfee"].ToString()) { this.map["monthfee"] = CLRTriggers.getDoubleString(reader, "monthfee"); }
        if (oldReader == null || reader["mthyr"].ToString() != oldReader["mthyr"].ToString()) { this.map["mthyr"] = reader["mthyr"].ToString(); }
        if (oldReader == null || reader["namec"].ToString() != oldReader["namec"].ToString()) { this.map["namec"] = reader["namec"].ToString(); }
        if (oldReader == null || reader["namee"].ToString() != oldReader["namee"].ToString()) { this.map["namee"] = reader["namee"].ToString(); }
        if (oldReader == null || reader["nameelast"].ToString() != oldReader["nameelast"].ToString()) { this.map["nameelast"] = reader["nameelast"].ToString(); }
        if (oldReader == null || reader["nation"].ToString() != oldReader["nation"].ToString()) { this.map["nation"] = reader["nation"].ToString(); }
        if (oldReader == null || reader["native_place"].ToString() != oldReader["native_place"].ToString()) { this.map["native_place"] = reader["native_place"].ToString(); }
        if (oldReader == null || reader["nickname"].ToString() != oldReader["nickname"].ToString()) { this.map["nickname"] = reader["nickname"].ToString(); }
        if (oldReader == null || reader["no_name"].ToString() != oldReader["no_name"].ToString()) { this.map["no_name"] = CLRTriggers.getDoubleString(reader, "no_name"); }
        if (oldReader == null || reader["nominee"].ToString() != oldReader["nominee"].ToString()) { this.map["nominee"] = CLRTriggers.getDoubleString(reader, "nominee"); }
        if (oldReader == null || reader["office"].ToString() != oldReader["office"].ToString()) { this.map["office"] = reader["office"].ToString(); }
        if (oldReader == null || reader["open_bank"].ToString() != oldReader["open_bank"].ToString()) { this.map["open_bank"] = reader["open_bank"].ToString(); }
        if (oldReader == null || reader["open_billno"].ToString() != oldReader["open_billno"].ToString()) { this.map["open_billno"] = reader["open_billno"].ToString(); }
        if (oldReader == null || reader["open_company"].ToString() != oldReader["open_company"].ToString()) { this.map["open_company"] = reader["open_company"].ToString(); }
        if (oldReader == null || reader["open_credit"].ToString() != oldReader["open_credit"].ToString()) { this.map["open_credit"] = reader["open_credit"].ToString(); }
        if (oldReader == null || reader["open_creditno"].ToString() != oldReader["open_creditno"].ToString()) { this.map["open_creditno"] = reader["open_creditno"].ToString(); }
        if (oldReader == null || reader["open_endate"].ToString() != oldReader["open_endate"].ToString()) { this.map["open_endate"] = CLRTriggers.getDateTimeString(reader, "open_endate"); }
        if (oldReader == null || reader["open_office"].ToString() != oldReader["open_office"].ToString()) { this.map["open_office"] = reader["open_office"].ToString(); }
        if (oldReader == null || reader["order_text"].ToString() != oldReader["order_text"].ToString()) { this.map["order_text"] = reader["order_text"].ToString(); }
        if (oldReader == null || reader["other_address"].ToString() != oldReader["other_address"].ToString()) { this.map["other_address"] = reader["other_address"].ToString(); }
        if (oldReader == null || reader["other_address2"].ToString() != oldReader["other_address2"].ToString()) { this.map["other_address2"] = reader["other_address2"].ToString(); }
        if (oldReader == null || reader["other_attn"].ToString() != oldReader["other_attn"].ToString()) { this.map["other_attn"] = reader["other_attn"].ToString(); }
        if (oldReader == null || reader["other_attn2"].ToString() != oldReader["other_attn2"].ToString()) { this.map["other_attn2"] = reader["other_attn2"].ToString(); }
        if (oldReader == null || reader["other_postcode"].ToString() != oldReader["other_postcode"].ToString()) { this.map["other_postcode"] = reader["other_postcode"].ToString(); }
        if (oldReader == null || reader["other_postcode2"].ToString() != oldReader["other_postcode2"].ToString()) { this.map["other_postcode2"] = reader["other_postcode2"].ToString(); }
        if (oldReader == null || reader["other_tel"].ToString() != oldReader["other_tel"].ToString()) { this.map["other_tel"] = reader["other_tel"].ToString(); }
        if (oldReader == null || reader["other_tel2"].ToString() != oldReader["other_tel2"].ToString()) { this.map["other_tel2"] = reader["other_tel2"].ToString(); }
        if (oldReader == null || reader["othername"].ToString() != oldReader["othername"].ToString()) { this.map["othername"] = reader["othername"].ToString(); }
        if (oldReader == null || reader["packet_no"].ToString() != oldReader["packet_no"].ToString()) { this.map["packet_no"] = reader["packet_no"].ToString(); }
        if (oldReader == null || reader["park"].ToString() != oldReader["park"].ToString()) { this.map["park"] = CLRTriggers.getDoubleString(reader, "park"); }
        if (oldReader == null || reader["park_no"].ToString() != oldReader["park_no"].ToString()) { this.map["park_no"] = reader["park_no"].ToString(); }
        if (oldReader == null || reader["passport"].ToString() != oldReader["passport"].ToString()) { this.map["passport"] = reader["passport"].ToString(); }
        if (oldReader == null || reader["paytimelimit"].ToString() != oldReader["paytimelimit"].ToString()) { this.map["paytimelimit"] = reader["paytimelimit"].ToString(); }
        if (oldReader == null || reader["picture"].ToString() != oldReader["picture"].ToString()) { this.map["picture"] = reader["picture"].ToString(); }
        if (oldReader == null || reader["pin_id"].ToString() != oldReader["pin_id"].ToString()) { this.map["pin_id"] = reader["pin_id"].ToString(); }
        if (oldReader == null || reader["pobox"].ToString() != oldReader["pobox"].ToString()) { this.map["pobox"] = reader["pobox"].ToString(); }
        if (oldReader == null || reader["pos_tips"].ToString() != oldReader["pos_tips"].ToString()) { this.map["pos_tips"] = reader["pos_tips"].ToString(); }
        if (oldReader == null || reader["pos_tips_type"].ToString() != oldReader["pos_tips_type"].ToString()) { this.map["pos_tips_type"] = CLRTriggers.getDoubleString(reader, "pos_tips_type"); }
        if (oldReader == null || reader["posjustify"].ToString() != oldReader["posjustify"].ToString()) { this.map["posjustify"] = reader["posjustify"].ToString(); }
        if (oldReader == null || reader["postcode"].ToString() != oldReader["postcode"].ToString()) { this.map["postcode"] = reader["postcode"].ToString(); }
        if (oldReader == null || reader["q_id"].ToString() != oldReader["q_id"].ToString()) { this.map["q_id"] = reader["q_id"].ToString(); }
        if (oldReader == null || reader["race"].ToString() != oldReader["race"].ToString()) { this.map["race"] = reader["race"].ToString(); }
        if (oldReader == null || reader["recommend"].ToString() != oldReader["recommend"].ToString()) { this.map["recommend"] = CLRTriggers.getDoubleString(reader, "recommend"); }
        if (oldReader == null || reader["register_no"].ToString() != oldReader["register_no"].ToString()) { this.map["register_no"] = reader["register_no"].ToString(); }
        if (oldReader == null || reader["relative"].ToString() != oldReader["relative"].ToString()) { this.map["relative"] = reader["relative"].ToString(); }
        if (oldReader == null || reader["remark"].ToString() != oldReader["remark"].ToString()) { this.map["remark"] = reader["remark"].ToString(); }
        if (oldReader == null || reader["reminder"].ToString() != oldReader["reminder"].ToString()) { this.map["reminder"] = CLRTriggers.getDoubleString(reader, "reminder"); }
        if (oldReader == null || reader["renderway"].ToString() != oldReader["renderway"].ToString()) { this.map["renderway"] = reader["renderway"].ToString(); }
        if (oldReader == null || reader["renewed_date"].ToString() != oldReader["renewed_date"].ToString()) { this.map["renewed_date"] = CLRTriggers.getDateTimeString(reader, "renewed_date"); }
        if (oldReader == null || reader["rights"].ToString() != oldReader["rights"].ToString()) { this.map["rights"] = reader["rights"].ToString(); }
        if (oldReader == null || reader["salary"].ToString() != oldReader["salary"].ToString()) { this.map["salary"] = CLRTriggers.getDoubleString(reader, "salary"); }
        if (oldReader == null || reader["sale_name"].ToString() != oldReader["sale_name"].ToString()) { this.map["sale_name"] = reader["sale_name"].ToString(); }
        if (oldReader == null || reader["security"].ToString() != oldReader["security"].ToString()) { this.map["security"] = CLRTriggers.getDoubleString(reader, "security"); }
        if (oldReader == null || reader["setautoid"].ToString() != oldReader["setautoid"].ToString()) { this.map["setautoid"] = reader["setautoid"].ToString(); }
        if (oldReader == null || reader["sex"].ToString() != oldReader["sex"].ToString()) { this.map["sex"] = reader["sex"].ToString(); }
        if (oldReader == null || reader["signertype"].ToString() != oldReader["signertype"].ToString()) { this.map["signertype"] = CLRTriggers.getDoubleString(reader, "signertype"); }
        if (oldReader == null || reader["site"].ToString() != oldReader["site"].ToString()) { this.map["site"] = reader["site"].ToString(); }
        if (oldReader == null || reader["sortorder"].ToString() != oldReader["sortorder"].ToString()) { this.map["sortorder"] = CLRTriggers.getDoubleString(reader, "sortorder"); }
        if (oldReader == null || reader["source"].ToString() != oldReader["source"].ToString()) { this.map["source"] = reader["source"].ToString(); }
        if (oldReader == null || reader["spare_no1"].ToString() != oldReader["spare_no1"].ToString()) { this.map["spare_no1"] = reader["spare_no1"].ToString(); }
        if (oldReader == null || reader["spare_no2"].ToString() != oldReader["spare_no2"].ToString()) { this.map["spare_no2"] = reader["spare_no2"].ToString(); }
        if (oldReader == null || reader["spcdxhje"].ToString() != oldReader["spcdxhje"].ToString()) { this.map["spcdxhje"] = CLRTriggers.getDoubleString(reader, "spcdxhje"); }
        if (oldReader == null || reader["specialflag"].ToString() != oldReader["specialflag"].ToString()) { this.map["specialflag"] = CLRTriggers.getDoubleString(reader, "specialflag"); }
        if (oldReader == null || reader["spell"].ToString() != oldReader["spell"].ToString()) { this.map["spell"] = reader["spell"].ToString(); }
        if (oldReader == null || reader["spouse"].ToString() != oldReader["spouse"].ToString()) { this.map["spouse"] = reader["spouse"].ToString(); }
        if (oldReader == null || reader["startmonthdate"].ToString() != oldReader["startmonthdate"].ToString()) { this.map["startmonthdate"] = CLRTriggers.getDateTimeString(reader, "startmonthdate"); }
        if (oldReader == null || reader["status"].ToString() != oldReader["status"].ToString()) { this.map["status"] = CLRTriggers.getDoubleString(reader, "status"); }
        if (oldReader == null || reader["status_date"].ToString() != oldReader["status_date"].ToString()) { this.map["status_date"] = CLRTriggers.getDateTimeString(reader, "status_date"); }
        if (oldReader == null || reader["statusinout"].ToString() != oldReader["statusinout"].ToString()) { this.map["statusinout"] = CLRTriggers.getDoubleString(reader, "statusinout"); }
        if (oldReader == null || reader["stay_city"].ToString() != oldReader["stay_city"].ToString()) { this.map["stay_city"] = reader["stay_city"].ToString(); }
        if (oldReader == null || reader["stay_country"].ToString() != oldReader["stay_country"].ToString()) { this.map["stay_country"] = reader["stay_country"].ToString(); }
        if (oldReader == null || reader["stay_zone"].ToString() != oldReader["stay_zone"].ToString()) { this.map["stay_zone"] = reader["stay_zone"].ToString(); }
        if (oldReader == null || reader["tcredit_limit"].ToString() != oldReader["tcredit_limit"].ToString()) { this.map["tcredit_limit"] = CLRTriggers.getDoubleString(reader, "tcredit_limit"); }
        if (oldReader == null || reader["tel"].ToString() != oldReader["tel"].ToString()) { this.map["tel"] = reader["tel"].ToString(); }
        if (oldReader == null || reader["term"].ToString() != oldReader["term"].ToString()) { this.map["term"] = reader["term"].ToString(); }
        if (oldReader == null || reader["tickh"].ToString() != oldReader["tickh"].ToString()) { this.map["tickh"] = reader["tickh"].ToString(); }
        if (oldReader == null || reader["title"].ToString() != oldReader["title"].ToString()) { this.map["title"] = reader["title"].ToString(); }
        if (oldReader == null || reader["titlec"].ToString() != oldReader["titlec"].ToString()) { this.map["titlec"] = reader["titlec"].ToString(); }
        if (oldReader == null || reader["titlee"].ToString() != oldReader["titlee"].ToString()) { this.map["titlee"] = reader["titlee"].ToString(); }
        if (oldReader == null || reader["trytimes"].ToString() != oldReader["trytimes"].ToString()) { this.map["trytimes"] = reader["trytimes"].ToString(); }
        if (oldReader == null || reader["user_content"].ToString() != oldReader["user_content"].ToString()) { this.map["user_content"] = reader["user_content"].ToString(); }
        if (oldReader == null || reader["user_id"].ToString() != oldReader["user_id"].ToString()) { this.map["user_id"] = reader["user_id"].ToString(); }
        if (oldReader == null || reader["user_time"].ToString() != oldReader["user_time"].ToString()) { this.map["user_time"] = CLRTriggers.getDateTimeString(reader, "user_time"); }
        if (oldReader == null || reader["Web_UType"].ToString() != oldReader["Web_UType"].ToString()) { this.map["Web_UType"] = CLRTriggers.getDoubleString(reader, "Web_UType"); }
        if (oldReader == null || reader["wherefrom"].ToString() != oldReader["wherefrom"].ToString()) { this.map["wherefrom"] = reader["wherefrom"].ToString(); }
        if (oldReader == null || reader["yearperiod"].ToString() != oldReader["yearperiod"].ToString()) { this.map["yearperiod"] = reader["yearperiod"].ToString(); }
        if (oldReader == null || reader["zone"].ToString() != oldReader["zone"].ToString()) { this.map["zone"] = reader["zone"].ToString(); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {

        this.map["m_id"] = reader["m_id"].ToString();

    }

}

//fitness_enroll_qchange代码
class fitness_enroll_qchange : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

        if (oldReader == null || reader["cardno"].ToString() != oldReader["cardno"].ToString()) { this.map["cardno"] = reader["cardno"].ToString(); }
        if (oldReader == null || reader["checkczr"].ToString() != oldReader["checkczr"].ToString()) { this.map["checkczr"] = reader["checkczr"].ToString(); }
        if (oldReader == null || reader["checkrq"].ToString() != oldReader["checkrq"].ToString()) { this.map["checkrq"] = CLRTriggers.getDateTimeString(reader, "checkrq"); }
        if (oldReader == null || reader["class"].ToString() != oldReader["class"].ToString()) { this.map["class"] = reader["class"].ToString(); }
        if (oldReader == null || reader["cname"].ToString() != oldReader["cname"].ToString()) { this.map["cname"] = reader["cname"].ToString(); }
        if (oldReader == null || reader["coach"].ToString() != oldReader["coach"].ToString()) { this.map["coach"] = reader["coach"].ToString(); }
        if (oldReader == null || reader["company_tel"].ToString() != oldReader["company_tel"].ToString()) { this.map["company_tel"] = reader["company_tel"].ToString(); }
        if (oldReader == null || reader["discountpercent"].ToString() != oldReader["discountpercent"].ToString()) { this.map["discountpercent"] = CLRTriggers.getDoubleString(reader, "discountpercent"); }
        if (oldReader == null || reader["end_date"].ToString() != oldReader["end_date"].ToString()) { this.map["end_date"] = CLRTriggers.getDateTimeString(reader, "end_date"); }
        if (oldReader == null || reader["endtime"].ToString() != oldReader["endtime"].ToString()) { this.map["endtime"] = CLRTriggers.getDateTimeString(reader, "endtime"); }
        if (oldReader == null || reader["enroll_date"].ToString() != oldReader["enroll_date"].ToString()) { this.map["enroll_date"] = CLRTriggers.getDateTimeString(reader, "enroll_date"); }
        if (oldReader == null || reader["faccpay"].ToString() != oldReader["faccpay"].ToString()) { this.map["faccpay"] = CLRTriggers.getDoubleString(reader, "faccpay"); }
        if (oldReader == null || reader["fartjlno"].ToString() != oldReader["fartjlno"].ToString()) { this.map["fartjlno"] = reader["fartjlno"].ToString(); }
        if (oldReader == null || reader["fartjlnoold"].ToString() != oldReader["fartjlnoold"].ToString()) { this.map["fartjlnoold"] = reader["fartjlnoold"].ToString(); }
        if (oldReader == null || reader["fbmhyje"].ToString() != oldReader["fbmhyje"].ToString()) { this.map["fbmhyje"] = CLRTriggers.getDoubleString(reader, "fbmhyje"); }
        if (oldReader == null || reader["fbmje"].ToString() != oldReader["fbmje"].ToString()) { this.map["fbmje"] = CLRTriggers.getDoubleString(reader, "fbmje"); }
        if (oldReader == null || reader["FClub"].ToString() != oldReader["FClub"].ToString()) { this.map["FClub"] = reader["FClub"].ToString(); }
        if (oldReader == null || reader["fcreatedate"].ToString() != oldReader["fcreatedate"].ToString()) { this.map["fcreatedate"] = CLRTriggers.getDateTimeString(reader, "fcreatedate"); }
        if (oldReader == null || reader["fdcset"].ToString() != oldReader["fdcset"].ToString()) { this.map["fdcset"] = CLRTriggers.getDoubleString(reader, "fdcset"); }
        if (oldReader == null || reader["fdctomonthset"].ToString() != oldReader["fdctomonthset"].ToString()) { this.map["fdctomonthset"] = CLRTriggers.getDoubleString(reader, "fdctomonthset"); }
        if (oldReader == null || reader["fdctprice"].ToString() != oldReader["fdctprice"].ToString()) { this.map["fdctprice"] = CLRTriggers.getDoubleString(reader, "fdctprice"); }
        if (oldReader == null || reader["fdiscount"].ToString() != oldReader["fdiscount"].ToString()) { this.map["fdiscount"] = CLRTriggers.getDoubleString(reader, "fdiscount"); }
        if (oldReader == null || reader["fdiscountje"].ToString() != oldReader["fdiscountje"].ToString()) { this.map["fdiscountje"] = CLRTriggers.getDoubleString(reader, "fdiscountje"); }
        if (oldReader == null || reader["fenroquitqry"].ToString() != oldReader["fenroquitqry"].ToString()) { this.map["fenroquitqry"] = CLRTriggers.getDoubleString(reader, "fenroquitqry"); }
        if (oldReader == null || reader["fEntityNo"].ToString() != oldReader["fEntityNo"].ToString()) { this.map["fEntityNo"] = reader["fEntityNo"].ToString(); }
        if (oldReader == null || reader["fifcheck"].ToString() != oldReader["fifcheck"].ToString()) { this.map["fifcheck"] = CLRTriggers.getDoubleString(reader, "fifcheck"); }
        if (oldReader == null || reader["fifysje"].ToString() != oldReader["fifysje"].ToString()) { this.map["fifysje"] = CLRTriggers.getDoubleString(reader, "fifysje"); }
        if (oldReader == null || reader["fincs"].ToString() != oldReader["fincs"].ToString()) { this.map["fincs"] = CLRTriggers.getDoubleString(reader, "fincs"); }
        if (oldReader == null || reader["fkcclose"].ToString() != oldReader["fkcclose"].ToString()) { this.map["fkcclose"] = CLRTriggers.getDoubleString(reader, "fkcclose"); }
        if (oldReader == null || reader["fkcdown"].ToString() != oldReader["fkcdown"].ToString()) { this.map["fkcdown"] = CLRTriggers.getDoubleString(reader, "fkcdown"); }
        if (oldReader == null || reader["fkcpriceje"].ToString() != oldReader["fkcpriceje"].ToString()) { this.map["fkcpriceje"] = CLRTriggers.getDoubleString(reader, "fkcpriceje"); }
        if (oldReader == null || reader["fkscs"].ToString() != oldReader["fkscs"].ToString()) { this.map["fkscs"] = CLRTriggers.getDoubleString(reader, "fkscs"); }
        if (oldReader == null || reader["fmodifydate"].ToString() != oldReader["fmodifydate"].ToString()) { this.map["fmodifydate"] = CLRTriggers.getDateTimeString(reader, "fmodifydate"); }
        if (oldReader == null || reader["fmp"].ToString() != oldReader["fmp"].ToString()) { this.map["fmp"] = reader["fmp"].ToString(); }
        if (oldReader == null || reader["fnesscouqry"].ToString() != oldReader["fnesscouqry"].ToString()) { this.map["fnesscouqry"] = CLRTriggers.getDoubleString(reader, "fnesscouqry"); }
        if (oldReader == null || reader["fnewkcallje"].ToString() != oldReader["fnewkcallje"].ToString()) { this.map["fnewkcallje"] = CLRTriggers.getDoubleString(reader, "fnewkcallje"); }
        if (oldReader == null || reader["fneworadd"].ToString() != oldReader["fneworadd"].ToString()) { this.map["fneworadd"] = CLRTriggers.getDoubleString(reader, "fneworadd"); }
        if (oldReader == null || reader["foldclass"].ToString() != oldReader["foldclass"].ToString()) { this.map["foldclass"] = reader["foldclass"].ToString(); }
        if (oldReader == null || reader["folddjprice"].ToString() != oldReader["folddjprice"].ToString()) { this.map["folddjprice"] = CLRTriggers.getDoubleString(reader, "folddjprice"); }
        if (oldReader == null || reader["fparentclass"].ToString() != oldReader["fparentclass"].ToString()) { this.map["fparentclass"] = reader["fparentclass"].ToString(); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["fpmclatype"].ToString() != oldReader["fpmclatype"].ToString()) { this.map["fpmclatype"] = CLRTriggers.getDoubleString(reader, "fpmclatype"); }
        if (oldReader == null || reader["fpricexh"].ToString() != oldReader["fpricexh"].ToString()) { this.map["fpricexh"] = CLRTriggers.getDoubleString(reader, "fpricexh"); }
        if (oldReader == null || reader["fptmp"].ToString() != oldReader["fptmp"].ToString()) { this.map["fptmp"] = reader["fptmp"].ToString(); }
        if (oldReader == null || reader["freturnje"].ToString() != oldReader["freturnje"].ToString()) { this.map["freturnje"] = CLRTriggers.getDoubleString(reader, "freturnje"); }
        if (oldReader == null || reader["fstudentno"].ToString() != oldReader["fstudentno"].ToString()) { this.map["fstudentno"] = reader["fstudentno"].ToString(); }
        if (oldReader == null || reader["fsycss"].ToString() != oldReader["fsycss"].ToString()) { this.map["fsycss"] = CLRTriggers.getDoubleString(reader, "fsycss"); }
        if (oldReader == null || reader["fUserNo"].ToString() != oldReader["fUserNo"].ToString()) { this.map["fUserNo"] = reader["fUserNo"].ToString(); }
        if (oldReader == null || reader["fwwkcje"].ToString() != oldReader["fwwkcje"].ToString()) { this.map["fwwkcje"] = CLRTriggers.getDoubleString(reader, "fwwkcje"); }
        if (oldReader == null || reader["fyxday"].ToString() != oldReader["fyxday"].ToString()) { this.map["fyxday"] = CLRTriggers.getDoubleString(reader, "fyxday"); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["kccodena"].ToString() != oldReader["kccodena"].ToString()) { this.map["kccodena"] = reader["kccodena"].ToString(); }
        if (oldReader == null || reader["kssj"].ToString() != oldReader["kssj"].ToString()) { this.map["kssj"] = CLRTriggers.getDoubleString(reader, "kssj"); }
        if (oldReader == null || reader["lscard"].ToString() != oldReader["lscard"].ToString()) { this.map["lscard"] = reader["lscard"].ToString(); }
        if (oldReader == null || reader["memid"].ToString() != oldReader["memid"].ToString()) { this.map["memid"] = reader["memid"].ToString(); }
        if (oldReader == null || reader["n_last"].ToString() != oldReader["n_last"].ToString()) { this.map["n_last"] = CLRTriggers.getDoubleString(reader, "n_last"); }
        if (oldReader == null || reader["op_time"].ToString() != oldReader["op_time"].ToString()) { this.map["op_time"] = CLRTriggers.getDateTimeString(reader, "op_time"); }
        if (oldReader == null || reader["operator"].ToString() != oldReader["operator"].ToString()) { this.map["operator"] = reader["operator"].ToString(); }
        if (oldReader == null || reader["pshours"].ToString() != oldReader["pshours"].ToString()) { this.map["pshours"] = CLRTriggers.getDoubleString(reader, "pshours"); }
        if (oldReader == null || reader["psrs"].ToString() != oldReader["psrs"].ToString()) { this.map["psrs"] = CLRTriggers.getDoubleString(reader, "psrs"); }
        if (oldReader == null || reader["sale_name"].ToString() != oldReader["sale_name"].ToString()) { this.map["sale_name"] = reader["sale_name"].ToString(); }
        if (oldReader == null || reader["start_date"].ToString() != oldReader["start_date"].ToString()) { this.map["start_date"] = CLRTriggers.getDateTimeString(reader, "start_date"); }
        if (oldReader == null || reader["status"].ToString() != oldReader["status"].ToString()) { this.map["status"] = CLRTriggers.getDoubleString(reader, "status"); }
        if (oldReader == null || reader["sttime"].ToString() != oldReader["sttime"].ToString()) { this.map["sttime"] = CLRTriggers.getDateTimeString(reader, "sttime"); }
        if (oldReader == null || reader["stu_q_id"].ToString() != oldReader["stu_q_id"].ToString()) { this.map["stu_q_id"] = reader["stu_q_id"].ToString(); }
        if (oldReader == null || reader["tel"].ToString() != oldReader["tel"].ToString()) { this.map["tel"] = reader["tel"].ToString(); }
        if (oldReader == null || reader["totalpro"].ToString() != oldReader["totalpro"].ToString()) { this.map["totalpro"] = CLRTriggers.getDoubleString(reader, "totalpro"); }
        if (oldReader == null || reader["tptcs"].ToString() != oldReader["tptcs"].ToString()) { this.map["tptcs"] = CLRTriggers.getDoubleString(reader, "tptcs"); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {

        this.map["sid"] = reader["sid"].ToString();

    }

}

//sys_identity代码
class sys_identity : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

        if (oldReader == null || reader["code"].ToString() != oldReader["code"].ToString()) { this.map["code"] = reader["code"].ToString(); }
        if (oldReader == null || reader["court_fee"].ToString() != oldReader["court_fee"].ToString()) { this.map["court_fee"] = reader["court_fee"].ToString(); }
        if (oldReader == null || reader["display_color"].ToString() != oldReader["display_color"].ToString()) { this.map["display_color"] = CLRTriggers.getDoubleString(reader, "display_color"); }
        if (oldReader == null || reader["FClub"].ToString() != oldReader["FClub"].ToString()) { this.map["FClub"] = reader["FClub"].ToString(); }
        if (oldReader == null || reader["fcreatedate"].ToString() != oldReader["fcreatedate"].ToString()) { this.map["fcreatedate"] = CLRTriggers.getDateTimeString(reader, "fcreatedate"); }
        if (oldReader == null || reader["fEntityNo"].ToString() != oldReader["fEntityNo"].ToString()) { this.map["fEntityNo"] = reader["fEntityNo"].ToString(); }
        if (oldReader == null || reader["fmodifydate"].ToString() != oldReader["fmodifydate"].ToString()) { this.map["fmodifydate"] = CLRTriggers.getDateTimeString(reader, "fmodifydate"); }
        if (oldReader == null || reader["fmpno"].ToString() != oldReader["fmpno"].ToString()) { this.map["fmpno"] = reader["fmpno"].ToString(); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["fUserNo"].ToString() != oldReader["fUserNo"].ToString()) { this.map["fUserNo"] = reader["fUserNo"].ToString(); }
        if (oldReader == null || reader["identity_type"].ToString() != oldReader["identity_type"].ToString()) { this.map["identity_type"] = reader["identity_type"].ToString(); }
        if (oldReader == null || reader["if_group_type"].ToString() != oldReader["if_group_type"].ToString()) { this.map["if_group_type"] = reader["if_group_type"].ToString(); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["ifshdoorpay"].ToString() != oldReader["ifshdoorpay"].ToString()) { this.map["ifshdoorpay"] = CLRTriggers.getDoubleString(reader, "ifshdoorpay"); }
        if (oldReader == null || reader["link_card"].ToString() != oldReader["link_card"].ToString()) { this.map["link_card"] = reader["link_card"].ToString(); }
        if (oldReader == null || reader["list_order"].ToString() != oldReader["list_order"].ToString()) { this.map["list_order"] = CLRTriggers.getDoubleString(reader, "list_order"); }
        if (oldReader == null || reader["monthswcs"].ToString() != oldReader["monthswcs"].ToString()) { this.map["monthswcs"] = CLRTriggers.getDoubleString(reader, "monthswcs"); }
        if (oldReader == null || reader["n_last"].ToString() != oldReader["n_last"].ToString()) { this.map["n_last"] = CLRTriggers.getDoubleString(reader, "n_last"); }
        if (oldReader == null || reader["name_c"].ToString() != oldReader["name_c"].ToString()) { this.map["name_c"] = reader["name_c"].ToString(); }
        if (oldReader == null || reader["name_e"].ToString() != oldReader["name_e"].ToString()) { this.map["name_e"] = reader["name_e"].ToString(); }
        if (oldReader == null || reader["nfree_hours"].ToString() != oldReader["nfree_hours"].ToString()) { this.map["nfree_hours"] = CLRTriggers.getDoubleString(reader, "nfree_hours"); }
        if (oldReader == null || reader["parent_code"].ToString() != oldReader["parent_code"].ToString()) { this.map["parent_code"] = reader["parent_code"].ToString(); }
        if (oldReader == null || reader["remark"].ToString() != oldReader["remark"].ToString()) { this.map["remark"] = reader["remark"].ToString(); }
        if (oldReader == null || reader["week1"].ToString() != oldReader["week1"].ToString()) { this.map["week1"] = CLRTriggers.getDoubleString(reader, "week1"); }
        if (oldReader == null || reader["week2"].ToString() != oldReader["week2"].ToString()) { this.map["week2"] = CLRTriggers.getDoubleString(reader, "week2"); }
        if (oldReader == null || reader["week3"].ToString() != oldReader["week3"].ToString()) { this.map["week3"] = CLRTriggers.getDoubleString(reader, "week3"); }
        if (oldReader == null || reader["week4"].ToString() != oldReader["week4"].ToString()) { this.map["week4"] = CLRTriggers.getDoubleString(reader, "week4"); }
        if (oldReader == null || reader["week5"].ToString() != oldReader["week5"].ToString()) { this.map["week5"] = CLRTriggers.getDoubleString(reader, "week5"); }
        if (oldReader == null || reader["week6"].ToString() != oldReader["week6"].ToString()) { this.map["week6"] = CLRTriggers.getDoubleString(reader, "week6"); }
        if (oldReader == null || reader["week7"].ToString() != oldReader["week7"].ToString()) { this.map["week7"] = CLRTriggers.getDoubleString(reader, "week7"); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {

        this.map["code"] = reader["code"].ToString();

    }

}

//fitness_classes代码
class fitness_classes : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

        if (oldReader == null || reader["capacity"].ToString() != oldReader["capacity"].ToString()) { this.map["capacity"] = CLRTriggers.getDoubleString(reader, "capacity"); }
        if (oldReader == null || reader["classjb"].ToString() != oldReader["classjb"].ToString()) { this.map["classjb"] = reader["classjb"].ToString(); }
        if (oldReader == null || reader["classtype"].ToString() != oldReader["classtype"].ToString()) { this.map["classtype"] = reader["classtype"].ToString(); }
        if (oldReader == null || reader["cname"].ToString() != oldReader["cname"].ToString()) { this.map["cname"] = reader["cname"].ToString(); }
        if (oldReader == null || reader["color"].ToString() != oldReader["color"].ToString()) { this.map["color"] = CLRTriggers.getDoubleString(reader, "color"); }
        if (oldReader == null || reader["ctype"].ToString() != oldReader["ctype"].ToString()) { this.map["ctype"] = reader["ctype"].ToString(); }
        if (oldReader == null || reader["end_date"].ToString() != oldReader["end_date"].ToString()) { this.map["end_date"] = CLRTriggers.getDateTimeString(reader, "end_date"); }
        if (oldReader == null || reader["f_zdshtime"].ToString() != oldReader["f_zdshtime"].ToString()) { this.map["f_zdshtime"] = CLRTriggers.getDoubleString(reader, "f_zdshtime"); }
        if (oldReader == null || reader["FClub"].ToString() != oldReader["FClub"].ToString()) { this.map["FClub"] = reader["FClub"].ToString(); }
        if (oldReader == null || reader["fcreatedate"].ToString() != oldReader["fcreatedate"].ToString()) { this.map["fcreatedate"] = CLRTriggers.getDateTimeString(reader, "fcreatedate"); }
        if (oldReader == null || reader["fdiscount"].ToString() != oldReader["fdiscount"].ToString()) { this.map["fdiscount"] = CLRTriggers.getDoubleString(reader, "fdiscount"); }
        if (oldReader == null || reader["fdiscountje"].ToString() != oldReader["fdiscountje"].ToString()) { this.map["fdiscountje"] = CLRTriggers.getDoubleString(reader, "fdiscountje"); }
        if (oldReader == null || reader["fEntityNo"].ToString() != oldReader["fEntityNo"].ToString()) { this.map["fEntityNo"] = reader["fEntityNo"].ToString(); }
        if (oldReader == null || reader["fhousers"].ToString() != oldReader["fhousers"].ToString()) { this.map["fhousers"] = CLRTriggers.getDoubleString(reader, "fhousers"); }
        if (oldReader == null || reader["fifhxjlset"].ToString() != oldReader["fifhxjlset"].ToString()) { this.map["fifhxjlset"] = CLRTriggers.getDoubleString(reader, "fifhxjlset"); }
        if (oldReader == null || reader["fifmp"].ToString() != oldReader["fifmp"].ToString()) { this.map["fifmp"] = CLRTriggers.getDoubleString(reader, "fifmp"); }
        if (oldReader == null || reader["fifptyesno"].ToString() != oldReader["fifptyesno"].ToString()) { this.map["fifptyesno"] = CLRTriggers.getDoubleString(reader, "fifptyesno"); }
        if (oldReader == null || reader["fincs"].ToString() != oldReader["fincs"].ToString()) { this.map["fincs"] = CLRTriggers.getDoubleString(reader, "fincs"); }
        if (oldReader == null || reader["fkcprice"].ToString() != oldReader["fkcprice"].ToString()) { this.map["fkcprice"] = CLRTriggers.getDoubleString(reader, "fkcprice"); }
        if (oldReader == null || reader["fkscs"].ToString() != oldReader["fkscs"].ToString()) { this.map["fkscs"] = CLRTriggers.getDoubleString(reader, "fkscs"); }
        if (oldReader == null || reader["fmodifydate"].ToString() != oldReader["fmodifydate"].ToString()) { this.map["fmodifydate"] = CLRTriggers.getDateTimeString(reader, "fmodifydate"); }
        if (oldReader == null || reader["fmp"].ToString() != oldReader["fmp"].ToString()) { this.map["fmp"] = reader["fmp"].ToString(); }
        if (oldReader == null || reader["fparentclass"].ToString() != oldReader["fparentclass"].ToString()) { this.map["fparentclass"] = reader["fparentclass"].ToString(); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["fpmclatype"].ToString() != oldReader["fpmclatype"].ToString()) { this.map["fpmclatype"] = CLRTriggers.getDoubleString(reader, "fpmclatype"); }
        if (oldReader == null || reader["fpricexh"].ToString() != oldReader["fpricexh"].ToString()) { this.map["fpricexh"] = CLRTriggers.getDoubleString(reader, "fpricexh"); }
        if (oldReader == null || reader["fptmp"].ToString() != oldReader["fptmp"].ToString()) { this.map["fptmp"] = reader["fptmp"].ToString(); }
        if (oldReader == null || reader["frsprice"].ToString() != oldReader["frsprice"].ToString()) { this.map["frsprice"] = CLRTriggers.getDoubleString(reader, "frsprice"); }
        if (oldReader == null || reader["fUserNo"].ToString() != oldReader["fUserNo"].ToString()) { this.map["fUserNo"] = reader["fUserNo"].ToString(); }
        if (oldReader == null || reader["fyskscs"].ToString() != oldReader["fyskscs"].ToString()) { this.map["fyskscs"] = CLRTriggers.getDoubleString(reader, "fyskscs"); }
        if (oldReader == null || reader["fyxday"].ToString() != oldReader["fyxday"].ToString()) { this.map["fyxday"] = CLRTriggers.getDoubleString(reader, "fyxday"); }
        if (oldReader == null || reader["fzdrs"].ToString() != oldReader["fzdrs"].ToString()) { this.map["fzdrs"] = CLRTriggers.getDoubleString(reader, "fzdrs"); }
        if (oldReader == null || reader["fzgrs"].ToString() != oldReader["fzgrs"].ToString()) { this.map["fzgrs"] = CLRTriggers.getDoubleString(reader, "fzgrs"); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["instructor"].ToString() != oldReader["instructor"].ToString()) { this.map["instructor"] = reader["instructor"].ToString(); }
        if (oldReader == null || reader["kssj"].ToString() != oldReader["kssj"].ToString()) { this.map["kssj"] = CLRTriggers.getDoubleString(reader, "kssj"); }
        if (oldReader == null || reader["minimal"].ToString() != oldReader["minimal"].ToString()) { this.map["minimal"] = CLRTriggers.getDoubleString(reader, "minimal"); }
        if (oldReader == null || reader["n_last"].ToString() != oldReader["n_last"].ToString()) { this.map["n_last"] = CLRTriggers.getDoubleString(reader, "n_last"); }
        if (oldReader == null || reader["openuserid"].ToString() != oldReader["openuserid"].ToString()) { this.map["openuserid"] = reader["openuserid"].ToString(); }
        if (oldReader == null || reader["remark"].ToString() != oldReader["remark"].ToString()) { this.map["remark"] = reader["remark"].ToString(); }
        if (oldReader == null || reader["remarks"].ToString() != oldReader["remarks"].ToString()) { this.map["remarks"] = reader["remarks"].ToString(); }
        if (oldReader == null || reader["start_date"].ToString() != oldReader["start_date"].ToString()) { this.map["start_date"] = CLRTriggers.getDateTimeString(reader, "start_date"); }
        if (oldReader == null || reader["status"].ToString() != oldReader["status"].ToString()) { this.map["status"] = CLRTriggers.getDoubleString(reader, "status"); }
        if (oldReader == null || reader["tptcs"].ToString() != oldReader["tptcs"].ToString()) { this.map["tptcs"] = CLRTriggers.getDoubleString(reader, "tptcs"); }
        if (oldReader == null || reader["tysptcs"].ToString() != oldReader["tysptcs"].ToString()) { this.map["tysptcs"] = CLRTriggers.getDoubleString(reader, "tysptcs"); }
        if (oldReader == null || reader["venueid"].ToString() != oldReader["venueid"].ToString()) { this.map["venueid"] = reader["venueid"].ToString(); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {

        this.map["code"] = reader["code"].ToString();

    }

}

//mem_kind代码
class mem_kind : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

        if (oldReader == null || reader["acc_clubkinds3"].ToString() != oldReader["acc_clubkinds3"].ToString()) { this.map["acc_clubkinds3"] = reader["acc_clubkinds3"].ToString(); }
        if (oldReader == null || reader["acc_code"].ToString() != oldReader["acc_code"].ToString()) { this.map["acc_code"] = reader["acc_code"].ToString(); }
        if (oldReader == null || reader["ackdoor"].ToString() != oldReader["ackdoor"].ToString()) { this.map["ackdoor"] = CLRTriggers.getDoubleString(reader, "ackdoor"); }
        if (oldReader == null || reader["begin_date"].ToString() != oldReader["begin_date"].ToString()) { this.map["begin_date"] = CLRTriggers.getDateTimeString(reader, "begin_date"); }
        if (oldReader == null || reader["checkin_identity"].ToString() != oldReader["checkin_identity"].ToString()) { this.map["checkin_identity"] = reader["checkin_identity"].ToString(); }
        if (oldReader == null || reader["client"].ToString() != oldReader["client"].ToString()) { this.map["client"] = reader["client"].ToString(); }
        if (oldReader == null || reader["code"].ToString() != oldReader["code"].ToString()) { this.map["code"] = reader["code"].ToString(); }
        if (oldReader == null || reader["csadd"].ToString() != oldReader["csadd"].ToString()) { this.map["csadd"] = CLRTriggers.getDoubleString(reader, "csadd"); }
        if (oldReader == null || reader["daytime"].ToString() != oldReader["daytime"].ToString()) { this.map["daytime"] = CLRTriggers.getDoubleString(reader, "daytime"); }
        if (oldReader == null || reader["depositcard"].ToString() != oldReader["depositcard"].ToString()) { this.map["depositcard"] = CLRTriggers.getDoubleString(reader, "depositcard"); }
        if (oldReader == null || reader["description"].ToString() != oldReader["description"].ToString()) { this.map["description"] = reader["description"].ToString(); }
        if (oldReader == null || reader["directpos"].ToString() != oldReader["directpos"].ToString()) { this.map["directpos"] = CLRTriggers.getDoubleString(reader, "directpos"); }
        if (oldReader == null || reader["discountpercent"].ToString() != oldReader["discountpercent"].ToString()) { this.map["discountpercent"] = CLRTriggers.getDoubleString(reader, "discountpercent"); }
        if (oldReader == null || reader["display_color"].ToString() != oldReader["display_color"].ToString()) { this.map["display_color"] = CLRTriggers.getDoubleString(reader, "display_color"); }
        if (oldReader == null || reader["dymp"].ToString() != oldReader["dymp"].ToString()) { this.map["dymp"] = reader["dymp"].ToString(); }
        if (oldReader == null || reader["endtime"].ToString() != oldReader["endtime"].ToString()) { this.map["endtime"] = CLRTriggers.getDateTimeString(reader, "endtime"); }
        if (oldReader == null || reader["enf_kind"].ToString() != oldReader["enf_kind"].ToString()) { this.map["enf_kind"] = reader["enf_kind"].ToString(); }
        if (oldReader == null || reader["enfee"].ToString() != oldReader["enfee"].ToString()) { this.map["enfee"] = CLRTriggers.getDoubleString(reader, "enfee"); }
        if (oldReader == null || reader["f_cd"].ToString() != oldReader["f_cd"].ToString()) { this.map["f_cd"] = CLRTriggers.getDoubleString(reader, "f_cd"); }
        if (oldReader == null || reader["f_ck_bdy"].ToString() != oldReader["f_ck_bdy"].ToString()) { this.map["f_ck_bdy"] = CLRTriggers.getDoubleString(reader, "f_ck_bdy"); }
        if (oldReader == null || reader["f_ck_bsy"].ToString() != oldReader["f_ck_bsy"].ToString()) { this.map["f_ck_bsy"] = CLRTriggers.getDoubleString(reader, "f_ck_bsy"); }
        if (oldReader == null || reader["f_daycs"].ToString() != oldReader["f_daycs"].ToString()) { this.map["f_daycs"] = CLRTriggers.getDoubleString(reader, "f_daycs"); }
        if (oldReader == null || reader["f_dayje"].ToString() != oldReader["f_dayje"].ToString()) { this.map["f_dayje"] = CLRTriggers.getDoubleString(reader, "f_dayje"); }
        if (oldReader == null || reader["f_daytime"].ToString() != oldReader["f_daytime"].ToString()) { this.map["f_daytime"] = CLRTriggers.getDoubleString(reader, "f_daytime"); }
        if (oldReader == null || reader["f_hy_len"].ToString() != oldReader["f_hy_len"].ToString()) { this.map["f_hy_len"] = CLRTriggers.getDoubleString(reader, "f_hy_len"); }
        if (oldReader == null || reader["f_if_pass"].ToString() != oldReader["f_if_pass"].ToString()) { this.map["f_if_pass"] = reader["f_if_pass"].ToString(); }
        if (oldReader == null || reader["f_in_pass"].ToString() != oldReader["f_in_pass"].ToString()) { this.map["f_in_pass"] = reader["f_in_pass"].ToString(); }
        if (oldReader == null || reader["f_is_icje"].ToString() != oldReader["f_is_icje"].ToString()) { this.map["f_is_icje"] = reader["f_is_icje"].ToString(); }
        if (oldReader == null || reader["f_no"].ToString() != oldReader["f_no"].ToString()) { this.map["f_no"] = CLRTriggers.getDoubleString(reader, "f_no"); }
        if (oldReader == null || reader["f_view_pass"].ToString() != oldReader["f_view_pass"].ToString()) { this.map["f_view_pass"] = reader["f_view_pass"].ToString(); }
        if (oldReader == null || reader["f_xhcs"].ToString() != oldReader["f_xhcs"].ToString()) { this.map["f_xhcs"] = CLRTriggers.getDoubleString(reader, "f_xhcs"); }
        if (oldReader == null || reader["f_xhje"].ToString() != oldReader["f_xhje"].ToString()) { this.map["f_xhje"] = CLRTriggers.getDoubleString(reader, "f_xhje"); }
        if (oldReader == null || reader["f_yxjehs"].ToString() != oldReader["f_yxjehs"].ToString()) { this.map["f_yxjehs"] = reader["f_yxjehs"].ToString(); }
        if (oldReader == null || reader["factive"].ToString() != oldReader["factive"].ToString()) { this.map["factive"] = CLRTriggers.getDoubleString(reader, "factive"); }
        if (oldReader == null || reader["fbkjeset"].ToString() != oldReader["fbkjeset"].ToString()) { this.map["fbkjeset"] = CLRTriggers.getDoubleString(reader, "fbkjeset"); }
        if (oldReader == null || reader["FClub"].ToString() != oldReader["FClub"].ToString()) { this.map["FClub"] = reader["FClub"].ToString(); }
        if (oldReader == null || reader["fcreatedate"].ToString() != oldReader["fcreatedate"].ToString()) { this.map["fcreatedate"] = CLRTriggers.getDateTimeString(reader, "fcreatedate"); }
        if (oldReader == null || reader["fdefmonthje"].ToString() != oldReader["fdefmonthje"].ToString()) { this.map["fdefmonthje"] = CLRTriggers.getDoubleString(reader, "fdefmonthje"); }
        if (oldReader == null || reader["fDeptNo"].ToString() != oldReader["fDeptNo"].ToString()) { this.map["fDeptNo"] = reader["fDeptNo"].ToString(); }
        if (oldReader == null || reader["fdiscmp"].ToString() != oldReader["fdiscmp"].ToString()) { this.map["fdiscmp"] = CLRTriggers.getDoubleString(reader, "fdiscmp"); }
        if (oldReader == null || reader["fdoormp"].ToString() != oldReader["fdoormp"].ToString()) { this.map["fdoormp"] = reader["fdoormp"].ToString(); }
        if (oldReader == null || reader["fEntityNo"].ToString() != oldReader["fEntityNo"].ToString()) { this.map["fEntityNo"] = reader["fEntityNo"].ToString(); }
        if (oldReader == null || reader["fhyall"].ToString() != oldReader["fhyall"].ToString()) { this.map["fhyall"] = CLRTriggers.getDoubleString(reader, "fhyall"); }
        if (oldReader == null || reader["fhykkdays"].ToString() != oldReader["fhykkdays"].ToString()) { this.map["fhykkdays"] = CLRTriggers.getDoubleString(reader, "fhykkdays"); }
        if (oldReader == null || reader["fhyknotacc"].ToString() != oldReader["fhyknotacc"].ToString()) { this.map["fhyknotacc"] = CLRTriggers.getDoubleString(reader, "fhyknotacc"); }
        if (oldReader == null || reader["ficje"].ToString() != oldReader["ficje"].ToString()) { this.map["ficje"] = CLRTriggers.getDoubleString(reader, "ficje"); }
        if (oldReader == null || reader["fifhyxh"].ToString() != oldReader["fifhyxh"].ToString()) { this.map["fifhyxh"] = CLRTriggers.getDoubleString(reader, "fifhyxh"); }
        if (oldReader == null || reader["fiflyzbset"].ToString() != oldReader["fiflyzbset"].ToString()) { this.map["fiflyzbset"] = CLRTriggers.getDoubleString(reader, "fiflyzbset"); }
        if (oldReader == null || reader["fifmasic"].ToString() != oldReader["fifmasic"].ToString()) { this.map["fifmasic"] = reader["fifmasic"].ToString(); }
        if (oldReader == null || reader["fifxhbalance"].ToString() != oldReader["fifxhbalance"].ToString()) { this.map["fifxhbalance"] = CLRTriggers.getDoubleString(reader, "fifxhbalance"); }
        if (oldReader == null || reader["fifxhjhs"].ToString() != oldReader["fifxhjhs"].ToString()) { this.map["fifxhjhs"] = reader["fifxhjhs"].ToString(); }
        if (oldReader == null || reader["fifyhgh"].ToString() != oldReader["fifyhgh"].ToString()) { this.map["fifyhgh"] = reader["fifyhgh"].ToString(); }
        if (oldReader == null || reader["finje"].ToString() != oldReader["finje"].ToString()) { this.map["finje"] = CLRTriggers.getDoubleString(reader, "finje"); }
        if (oldReader == null || reader["fjfset"].ToString() != oldReader["fjfset"].ToString()) { this.map["fjfset"] = CLRTriggers.getDoubleString(reader, "fjfset"); }
        if (oldReader == null || reader["fjzrp"].ToString() != oldReader["fjzrp"].ToString()) { this.map["fjzrp"] = CLRTriggers.getDateTimeString(reader, "fjzrp"); }
        if (oldReader == null || reader["Fkindhy"].ToString() != oldReader["Fkindhy"].ToString()) { this.map["Fkindhy"] = reader["Fkindhy"].ToString(); }
        if (oldReader == null || reader["flockcz"].ToString() != oldReader["flockcz"].ToString()) { this.map["flockcz"] = CLRTriggers.getDoubleString(reader, "flockcz"); }
        if (oldReader == null || reader["fmodifydate"].ToString() != oldReader["fmodifydate"].ToString()) { this.map["fmodifydate"] = CLRTriggers.getDateTimeString(reader, "fmodifydate"); }
        if (oldReader == null || reader["fmzje"].ToString() != oldReader["fmzje"].ToString()) { this.map["fmzje"] = CLRTriggers.getDoubleString(reader, "fmzje"); }
        if (oldReader == null || reader["fonesl"].ToString() != oldReader["fonesl"].ToString()) { this.map["fonesl"] = CLRTriggers.getDoubleString(reader, "fonesl"); }
        if (oldReader == null || reader["fpayje"].ToString() != oldReader["fpayje"].ToString()) { this.map["fpayje"] = CLRTriggers.getDoubleString(reader, "fpayje"); }
        if (oldReader == null || reader["fpayjejh"].ToString() != oldReader["fpayjejh"].ToString()) { this.map["fpayjejh"] = CLRTriggers.getDoubleString(reader, "fpayjejh"); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["fqry"].ToString() != oldReader["fqry"].ToString()) { this.map["fqry"] = CLRTriggers.getDoubleString(reader, "fqry"); }
        if (oldReader == null || reader["fshjetip"].ToString() != oldReader["fshjetip"].ToString()) { this.map["fshjetip"] = CLRTriggers.getDoubleString(reader, "fshjetip"); }
        if (oldReader == null || reader["Fstatustype"].ToString() != oldReader["Fstatustype"].ToString()) { this.map["Fstatustype"] = CLRTriggers.getDoubleString(reader, "Fstatustype"); }
        if (oldReader == null || reader["ftdflashn"].ToString() != oldReader["ftdflashn"].ToString()) { this.map["ftdflashn"] = CLRTriggers.getDoubleString(reader, "ftdflashn"); }
        if (oldReader == null || reader["fUserNo"].ToString() != oldReader["fUserNo"].ToString()) { this.map["fUserNo"] = reader["fUserNo"].ToString(); }
        if (oldReader == null || reader["fvisibleacc"].ToString() != oldReader["fvisibleacc"].ToString()) { this.map["fvisibleacc"] = CLRTriggers.getDoubleString(reader, "fvisibleacc"); }
        if (oldReader == null || reader["fydlook"].ToString() != oldReader["fydlook"].ToString()) { this.map["fydlook"] = CLRTriggers.getDoubleString(reader, "fydlook"); }
        if (oldReader == null || reader["fyhdate"].ToString() != oldReader["fyhdate"].ToString()) { this.map["fyhdate"] = CLRTriggers.getDateTimeString(reader, "fyhdate"); }
        if (oldReader == null || reader["fyjje"].ToString() != oldReader["fyjje"].ToString()) { this.map["fyjje"] = CLRTriggers.getDoubleString(reader, "fyjje"); }
        if (oldReader == null || reader["fyxrqset"].ToString() != oldReader["fyxrqset"].ToString()) { this.map["fyxrqset"] = CLRTriggers.getDoubleString(reader, "fyxrqset"); }
        if (oldReader == null || reader["fzsdays"].ToString() != oldReader["fzsdays"].ToString()) { this.map["fzsdays"] = CLRTriggers.getDoubleString(reader, "fzsdays"); }
        if (oldReader == null || reader["fzyzbsl"].ToString() != oldReader["fzyzbsl"].ToString()) { this.map["fzyzbsl"] = CLRTriggers.getDoubleString(reader, "fzyzbsl"); }
        if (oldReader == null || reader["holidaylimit"].ToString() != oldReader["holidaylimit"].ToString()) { this.map["holidaylimit"] = CLRTriggers.getDoubleString(reader, "holidaylimit"); }
        if (oldReader == null || reader["hpric"].ToString() != oldReader["hpric"].ToString()) { this.map["hpric"] = CLRTriggers.getDoubleString(reader, "hpric"); }
        if (oldReader == null || reader["hygps"].ToString() != oldReader["hygps"].ToString()) { this.map["hygps"] = CLRTriggers.getDoubleString(reader, "hygps"); }
        if (oldReader == null || reader["hymkzs"].ToString() != oldReader["hymkzs"].ToString()) { this.map["hymkzs"] = CLRTriggers.getDoubleString(reader, "hymkzs"); }
        if (oldReader == null || reader["hystatus"].ToString() != oldReader["hystatus"].ToString()) { this.map["hystatus"] = CLRTriggers.getDoubleString(reader, "hystatus"); }
        if (oldReader == null || reader["hyyxqday"].ToString() != oldReader["hyyxqday"].ToString()) { this.map["hyyxqday"] = CLRTriggers.getDoubleString(reader, "hyyxqday"); }
        if (oldReader == null || reader["icno"].ToString() != oldReader["icno"].ToString()) { this.map["icno"] = reader["icno"].ToString(); }
        if (oldReader == null || reader["if_normal_rpt"].ToString() != oldReader["if_normal_rpt"].ToString()) { this.map["if_normal_rpt"] = CLRTriggers.getDoubleString(reader, "if_normal_rpt"); }
        if (oldReader == null || reader["if_statistic"].ToString() != oldReader["if_statistic"].ToString()) { this.map["if_statistic"] = CLRTriggers.getDoubleString(reader, "if_statistic"); }
        if (oldReader == null || reader["ifActive"].ToString() != oldReader["ifActive"].ToString()) { this.map["ifActive"] = reader["ifActive"].ToString(); }
        if (oldReader == null || reader["ifdaytime"].ToString() != oldReader["ifdaytime"].ToString()) { this.map["ifdaytime"] = CLRTriggers.getDoubleString(reader, "ifdaytime"); }
        if (oldReader == null || reader["ifdcflash"].ToString() != oldReader["ifdcflash"].ToString()) { this.map["ifdcflash"] = reader["ifdcflash"].ToString(); }
        if (oldReader == null || reader["ifdcje"].ToString() != oldReader["ifdcje"].ToString()) { this.map["ifdcje"] = reader["ifdcje"].ToString(); }
        if (oldReader == null || reader["ifdcpass"].ToString() != oldReader["ifdcpass"].ToString()) { this.map["ifdcpass"] = reader["ifdcpass"].ToString(); }
        if (oldReader == null || reader["ifdoorok"].ToString() != oldReader["ifdoorok"].ToString()) { this.map["ifdoorok"] = reader["ifdoorok"].ToString(); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["ifhyicacc"].ToString() != oldReader["ifhyicacc"].ToString()) { this.map["ifhyicacc"] = reader["ifhyicacc"].ToString(); }
        if (oldReader == null || reader["ifhyiccount"].ToString() != oldReader["ifhyiccount"].ToString()) { this.map["ifhyiccount"] = CLRTriggers.getDoubleString(reader, "ifhyiccount"); }
        if (oldReader == null || reader["ifinkc"].ToString() != oldReader["ifinkc"].ToString()) { this.map["ifinkc"] = reader["ifinkc"].ToString(); }
        if (oldReader == null || reader["ifinks"].ToString() != oldReader["ifinks"].ToString()) { this.map["ifinks"] = reader["ifinks"].ToString(); }
        if (oldReader == null || reader["ifinsmtimese"].ToString() != oldReader["ifinsmtimese"].ToString()) { this.map["ifinsmtimese"] = CLRTriggers.getDoubleString(reader, "ifinsmtimese"); }
        if (oldReader == null || reader["ifjjrkc"].ToString() != oldReader["ifjjrkc"].ToString()) { this.map["ifjjrkc"] = reader["ifjjrkc"].ToString(); }
        if (oldReader == null || reader["iflskh"].ToString() != oldReader["iflskh"].ToString()) { this.map["iflskh"] = reader["iflskh"].ToString(); }
        if (oldReader == null || reader["ifmonthje"].ToString() != oldReader["ifmonthje"].ToString()) { this.map["ifmonthje"] = reader["ifmonthje"].ToString(); }
        if (oldReader == null || reader["ifnewdate"].ToString() != oldReader["ifnewdate"].ToString()) { this.map["ifnewdate"] = reader["ifnewdate"].ToString(); }
        if (oldReader == null || reader["ifnotxhsp"].ToString() != oldReader["ifnotxhsp"].ToString()) { this.map["ifnotxhsp"] = CLRTriggers.getDoubleString(reader, "ifnotxhsp"); }
        if (oldReader == null || reader["ifokin"].ToString() != oldReader["ifokin"].ToString()) { this.map["ifokin"] = reader["ifokin"].ToString(); }
        if (oldReader == null || reader["ifoutckje"].ToString() != oldReader["ifoutckje"].ToString()) { this.map["ifoutckje"] = reader["ifoutckje"].ToString(); }
        if (oldReader == null || reader["ifshoesyn"].ToString() != oldReader["ifshoesyn"].ToString()) { this.map["ifshoesyn"] = reader["ifshoesyn"].ToString(); }
        if (oldReader == null || reader["ifsph"].ToString() != oldReader["ifsph"].ToString()) { this.map["ifsph"] = reader["ifsph"].ToString(); }
        if (oldReader == null || reader["ifstartset"].ToString() != oldReader["ifstartset"].ToString()) { this.map["ifstartset"] = CLRTriggers.getDoubleString(reader, "ifstartset"); }
        if (oldReader == null || reader["ifstuclass"].ToString() != oldReader["ifstuclass"].ToString()) { this.map["ifstuclass"] = reader["ifstuclass"].ToString(); }
        if (oldReader == null || reader["iftipkd"].ToString() != oldReader["iftipkd"].ToString()) { this.map["iftipkd"] = reader["iftipkd"].ToString(); }
        if (oldReader == null || reader["ifuse"].ToString() != oldReader["ifuse"].ToString()) { this.map["ifuse"] = reader["ifuse"].ToString(); }
        if (oldReader == null || reader["ifxhjf"].ToString() != oldReader["ifxhjf"].ToString()) { this.map["ifxhjf"] = reader["ifxhjf"].ToString(); }
        if (oldReader == null || reader["ifyxq"].ToString() != oldReader["ifyxq"].ToString()) { this.map["ifyxq"] = reader["ifyxq"].ToString(); }
        if (oldReader == null || reader["item_xhcs"].ToString() != oldReader["item_xhcs"].ToString()) { this.map["item_xhcs"] = CLRTriggers.getDoubleString(reader, "item_xhcs"); }
        if (oldReader == null || reader["jfs"].ToString() != oldReader["jfs"].ToString()) { this.map["jfs"] = CLRTriggers.getDoubleString(reader, "jfs"); }
        if (oldReader == null || reader["jifenxu"].ToString() != oldReader["jifenxu"].ToString()) { this.map["jifenxu"] = CLRTriggers.getDoubleString(reader, "jifenxu"); }
        if (oldReader == null || reader["kdcsa"].ToString() != oldReader["kdcsa"].ToString()) { this.map["kdcsa"] = CLRTriggers.getDoubleString(reader, "kdcsa"); }
        if (oldReader == null || reader["kdjea"].ToString() != oldReader["kdjea"].ToString()) { this.map["kdjea"] = CLRTriggers.getDoubleString(reader, "kdjea"); }
        if (oldReader == null || reader["memo"].ToString() != oldReader["memo"].ToString()) { this.map["memo"] = reader["memo"].ToString(); }
        if (oldReader == null || reader["monthfee_code"].ToString() != oldReader["monthfee_code"].ToString()) { this.map["monthfee_code"] = reader["monthfee_code"].ToString(); }
        if (oldReader == null || reader["n_last"].ToString() != oldReader["n_last"].ToString()) { this.map["n_last"] = CLRTriggers.getDoubleString(reader, "n_last"); }
        if (oldReader == null || reader["name"].ToString() != oldReader["name"].ToString()) { this.map["name"] = reader["name"].ToString(); }
        if (oldReader == null || reader["num_of_cards"].ToString() != oldReader["num_of_cards"].ToString()) { this.map["num_of_cards"] = CLRTriggers.getDoubleString(reader, "num_of_cards"); }
        if (oldReader == null || reader["othercs"].ToString() != oldReader["othercs"].ToString()) { this.map["othercs"] = CLRTriggers.getDoubleString(reader, "othercs"); }
        if (oldReader == null || reader["paymonthfee"].ToString() != oldReader["paymonthfee"].ToString()) { this.map["paymonthfee"] = CLRTriggers.getDoubleString(reader, "paymonthfee"); }
        if (oldReader == null || reader["pcno"].ToString() != oldReader["pcno"].ToString()) { this.map["pcno"] = reader["pcno"].ToString(); }
        if (oldReader == null || reader["rz1"].ToString() != oldReader["rz1"].ToString()) { this.map["rz1"] = CLRTriggers.getDoubleString(reader, "rz1"); }
        if (oldReader == null || reader["rz2"].ToString() != oldReader["rz2"].ToString()) { this.map["rz2"] = CLRTriggers.getDoubleString(reader, "rz2"); }
        if (oldReader == null || reader["rz3"].ToString() != oldReader["rz3"].ToString()) { this.map["rz3"] = CLRTriggers.getDoubleString(reader, "rz3"); }
        if (oldReader == null || reader["rz4"].ToString() != oldReader["rz4"].ToString()) { this.map["rz4"] = CLRTriggers.getDoubleString(reader, "rz4"); }
        if (oldReader == null || reader["rz5"].ToString() != oldReader["rz5"].ToString()) { this.map["rz5"] = CLRTriggers.getDoubleString(reader, "rz5"); }
        if (oldReader == null || reader["rz6"].ToString() != oldReader["rz6"].ToString()) { this.map["rz6"] = CLRTriggers.getDoubleString(reader, "rz6"); }
        if (oldReader == null || reader["rz7"].ToString() != oldReader["rz7"].ToString()) { this.map["rz7"] = CLRTriggers.getDoubleString(reader, "rz7"); }
        if (oldReader == null || reader["SaleForInternet"].ToString() != oldReader["SaleForInternet"].ToString()) { this.map["SaleForInternet"] = CLRTriggers.getDoubleString(reader, "SaleForInternet"); }
        if (oldReader == null || reader["shje"].ToString() != oldReader["shje"].ToString()) { this.map["shje"] = CLRTriggers.getDoubleString(reader, "shje"); }
        if (oldReader == null || reader["sortid"].ToString() != oldReader["sortid"].ToString()) { this.map["sortid"] = CLRTriggers.getDoubleString(reader, "sortid"); }
        if (oldReader == null || reader["spjexhset"].ToString() != oldReader["spjexhset"].ToString()) { this.map["spjexhset"] = CLRTriggers.getDoubleString(reader, "spjexhset"); }
        if (oldReader == null || reader["statuslock"].ToString() != oldReader["statuslock"].ToString()) { this.map["statuslock"] = CLRTriggers.getDoubleString(reader, "statuslock"); }
        if (oldReader == null || reader["sttime"].ToString() != oldReader["sttime"].ToString()) { this.map["sttime"] = CLRTriggers.getDateTimeString(reader, "sttime"); }
        if (oldReader == null || reader["trans"].ToString() != oldReader["trans"].ToString()) { this.map["trans"] = CLRTriggers.getDoubleString(reader, "trans"); }
        if (oldReader == null || reader["xhspset"].ToString() != oldReader["xhspset"].ToString()) { this.map["xhspset"] = CLRTriggers.getDoubleString(reader, "xhspset"); }
        if (oldReader == null || reader["yflx"].ToString() != oldReader["yflx"].ToString()) { this.map["yflx"] = CLRTriggers.getDoubleString(reader, "yflx"); }
        if (oldReader == null || reader["z1"].ToString() != oldReader["z1"].ToString()) { this.map["z1"] = CLRTriggers.getDoubleString(reader, "z1"); }
        if (oldReader == null || reader["z2"].ToString() != oldReader["z2"].ToString()) { this.map["z2"] = CLRTriggers.getDoubleString(reader, "z2"); }
        if (oldReader == null || reader["z3"].ToString() != oldReader["z3"].ToString()) { this.map["z3"] = CLRTriggers.getDoubleString(reader, "z3"); }
        if (oldReader == null || reader["z4"].ToString() != oldReader["z4"].ToString()) { this.map["z4"] = CLRTriggers.getDoubleString(reader, "z4"); }
        if (oldReader == null || reader["z5"].ToString() != oldReader["z5"].ToString()) { this.map["z5"] = CLRTriggers.getDoubleString(reader, "z5"); }
        if (oldReader == null || reader["z6"].ToString() != oldReader["z6"].ToString()) { this.map["z6"] = CLRTriggers.getDoubleString(reader, "z6"); }
        if (oldReader == null || reader["z7"].ToString() != oldReader["z7"].ToString()) { this.map["z7"] = CLRTriggers.getDoubleString(reader, "z7"); }
        if (oldReader == null || reader["z8"].ToString() != oldReader["z8"].ToString()) { this.map["z8"] = CLRTriggers.getDoubleString(reader, "z8"); }
        if (oldReader == null || reader["zdjf"].ToString() != oldReader["zdjf"].ToString()) { this.map["zdjf"] = CLRTriggers.getDoubleString(reader, "zdjf"); }
        if (oldReader == null || reader["zhekou"].ToString() != oldReader["zhekou"].ToString()) { this.map["zhekou"] = CLRTriggers.getDoubleString(reader, "zhekou"); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {

        this.map["memberkind"] = reader["memberkind"].ToString();

    }

}

//SnArt代码
class SnArt : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

        if (oldReader == null || reader["Bz"].ToString() != oldReader["Bz"].ToString()) { this.map["Bz"] = reader["Bz"].ToString(); }
        if (oldReader == null || reader["CardCode"].ToString() != oldReader["CardCode"].ToString()) { this.map["CardCode"] = reader["CardCode"].ToString(); }
        if (oldReader == null || reader["cardsno"].ToString() != oldReader["cardsno"].ToString()) { this.map["cardsno"] = CLRTriggers.getDoubleString(reader, "cardsno"); }
        if (oldReader == null || reader["counttype"].ToString() != oldReader["counttype"].ToString()) { this.map["counttype"] = reader["counttype"].ToString(); }
        if (oldReader == null || reader["dt_checkIn"].ToString() != oldReader["dt_checkIn"].ToString()) { this.map["dt_checkIn"] = CLRTriggers.getDateTimeString(reader, "dt_checkIn"); }
        if (oldReader == null || reader["dt_checkOut"].ToString() != oldReader["dt_checkOut"].ToString()) { this.map["dt_checkOut"] = CLRTriggers.getDateTimeString(reader, "dt_checkOut"); }
        if (oldReader == null || reader["dt_down"].ToString() != oldReader["dt_down"].ToString()) { this.map["dt_down"] = CLRTriggers.getDateTimeString(reader, "dt_down"); }
        if (oldReader == null || reader["enddatetime"].ToString() != oldReader["enddatetime"].ToString()) { this.map["enddatetime"] = CLRTriggers.getDateTimeString(reader, "enddatetime"); }
        if (oldReader == null || reader["fbillno"].ToString() != oldReader["fbillno"].ToString()) { this.map["fbillno"] = reader["fbillno"].ToString(); }
        if (oldReader == null || reader["FClub"].ToString() != oldReader["FClub"].ToString()) { this.map["FClub"] = reader["FClub"].ToString(); }
        if (oldReader == null || reader["fcreatedate"].ToString() != oldReader["fcreatedate"].ToString()) { this.map["fcreatedate"] = CLRTriggers.getDateTimeString(reader, "fcreatedate"); }
        if (oldReader == null || reader["fdoormp"].ToString() != oldReader["fdoormp"].ToString()) { this.map["fdoormp"] = reader["fdoormp"].ToString(); }
        if (oldReader == null || reader["fEntityNo"].ToString() != oldReader["fEntityNo"].ToString()) { this.map["fEntityNo"] = reader["fEntityNo"].ToString(); }
        if (oldReader == null || reader["fiftest"].ToString() != oldReader["fiftest"].ToString()) { this.map["fiftest"] = CLRTriggers.getDoubleString(reader, "fiftest"); }
        if (oldReader == null || reader["fmodifydate"].ToString() != oldReader["fmodifydate"].ToString()) { this.map["fmodifydate"] = CLRTriggers.getDateTimeString(reader, "fmodifydate"); }
        if (oldReader == null || reader["fPartNo"].ToString() != oldReader["fPartNo"].ToString()) { this.map["fPartNo"] = reader["fPartNo"].ToString(); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["fretailprice"].ToString() != oldReader["fretailprice"].ToString()) { this.map["fretailprice"] = CLRTriggers.getDoubleString(reader, "fretailprice"); }
        if (oldReader == null || reader["fspbm"].ToString() != oldReader["fspbm"].ToString()) { this.map["fspbm"] = reader["fspbm"].ToString(); }
        if (oldReader == null || reader["fUserNo"].ToString() != oldReader["fUserNo"].ToString()) { this.map["fUserNo"] = reader["fUserNo"].ToString(); }
        if (oldReader == null || reader["g_photo"].ToString() != oldReader["g_photo"].ToString()) { this.map["g_photo"] = reader["g_photo"].ToString(); }
        if (oldReader == null || reader["i_adjustNo"].ToString() != oldReader["i_adjustNo"].ToString()) { this.map["i_adjustNo"] = CLRTriggers.getDoubleString(reader, "i_adjustNo"); }
        if (oldReader == null || reader["i_age"].ToString() != oldReader["i_age"].ToString()) { this.map["i_age"] = CLRTriggers.getDoubleString(reader, "i_age"); }
        if (oldReader == null || reader["i_called"].ToString() != oldReader["i_called"].ToString()) { this.map["i_called"] = CLRTriggers.getDoubleString(reader, "i_called"); }
        if (oldReader == null || reader["i_dateflag"].ToString() != oldReader["i_dateflag"].ToString()) { this.map["i_dateflag"] = CLRTriggers.getDoubleString(reader, "i_dateflag"); }
        if (oldReader == null || reader["i_downstatus"].ToString() != oldReader["i_downstatus"].ToString()) { this.map["i_downstatus"] = CLRTriggers.getDoubleString(reader, "i_downstatus"); }
        if (oldReader == null || reader["i_height"].ToString() != oldReader["i_height"].ToString()) { this.map["i_height"] = CLRTriggers.getDoubleString(reader, "i_height"); }
        if (oldReader == null || reader["i_lastseqno"].ToString() != oldReader["i_lastseqno"].ToString()) { this.map["i_lastseqno"] = CLRTriggers.getDoubleString(reader, "i_lastseqno"); }
        if (oldReader == null || reader["i_order"].ToString() != oldReader["i_order"].ToString()) { this.map["i_order"] = CLRTriggers.getDoubleString(reader, "i_order"); }
        if (oldReader == null || reader["i_qjflag"].ToString() != oldReader["i_qjflag"].ToString()) { this.map["i_qjflag"] = CLRTriggers.getDoubleString(reader, "i_qjflag"); }
        if (oldReader == null || reader["i_seqBaseNo"].ToString() != oldReader["i_seqBaseNo"].ToString()) { this.map["i_seqBaseNo"] = CLRTriggers.getDoubleString(reader, "i_seqBaseNo"); }
        if (oldReader == null || reader["i_seqNo"].ToString() != oldReader["i_seqNo"].ToString()) { this.map["i_seqNo"] = CLRTriggers.getDoubleString(reader, "i_seqNo"); }
        if (oldReader == null || reader["i_status"].ToString() != oldReader["i_status"].ToString()) { this.map["i_status"] = CLRTriggers.getDoubleString(reader, "i_status"); }
        if (oldReader == null || reader["i_tagTurn"].ToString() != oldReader["i_tagTurn"].ToString()) { this.map["i_tagTurn"] = CLRTriggers.getDoubleString(reader, "i_tagTurn"); }
        if (oldReader == null || reader["i_weight"].ToString() != oldReader["i_weight"].ToString()) { this.map["i_weight"] = CLRTriggers.getDoubleString(reader, "i_weight"); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["iscard"].ToString() != oldReader["iscard"].ToString()) { this.map["iscard"] = reader["iscard"].ToString(); }
        if (oldReader == null || reader["mem_id"].ToString() != oldReader["mem_id"].ToString()) { this.map["mem_id"] = CLRTriggers.getDoubleString(reader, "mem_id"); }
        if (oldReader == null || reader["n_last"].ToString() != oldReader["n_last"].ToString()) { this.map["n_last"] = CLRTriggers.getDoubleString(reader, "n_last"); }
        if (oldReader == null || reader["picture"].ToString() != oldReader["picture"].ToString()) { this.map["picture"] = reader["picture"].ToString(); }
        if (oldReader == null || reader["q_id"].ToString() != oldReader["q_id"].ToString()) { this.map["q_id"] = reader["q_id"].ToString(); }
        if (oldReader == null || reader["stdatetime"].ToString() != oldReader["stdatetime"].ToString()) { this.map["stdatetime"] = CLRTriggers.getDateTimeString(reader, "stdatetime"); }
        if (oldReader == null || reader["tickh"].ToString() != oldReader["tickh"].ToString()) { this.map["tickh"] = reader["tickh"].ToString(); }
        if (oldReader == null || reader["v_address"].ToString() != oldReader["v_address"].ToString()) { this.map["v_address"] = reader["v_address"].ToString(); }
        if (oldReader == null || reader["v_areaNo"].ToString() != oldReader["v_areaNo"].ToString()) { this.map["v_areaNo"] = reader["v_areaNo"].ToString(); }
        if (oldReader == null || reader["v_artModeNo"].ToString() != oldReader["v_artModeNo"].ToString()) { this.map["v_artModeNo"] = reader["v_artModeNo"].ToString(); }
        if (oldReader == null || reader["v_groupNo"].ToString() != oldReader["v_groupNo"].ToString()) { this.map["v_groupNo"] = reader["v_groupNo"].ToString(); }
        if (oldReader == null || reader["v_home"].ToString() != oldReader["v_home"].ToString()) { this.map["v_home"] = reader["v_home"].ToString(); }
        if (oldReader == null || reader["v_LayerNo"].ToString() != oldReader["v_LayerNo"].ToString()) { this.map["v_LayerNo"] = reader["v_LayerNo"].ToString(); }
        if (oldReader == null || reader["v_memo"].ToString() != oldReader["v_memo"].ToString()) { this.map["v_memo"] = reader["v_memo"].ToString(); }
        if (oldReader == null || reader["v_name1"].ToString() != oldReader["v_name1"].ToString()) { this.map["v_name1"] = reader["v_name1"].ToString(); }
        if (oldReader == null || reader["v_name2"].ToString() != oldReader["v_name2"].ToString()) { this.map["v_name2"] = reader["v_name2"].ToString(); }
        if (oldReader == null || reader["v_onDuty"].ToString() != oldReader["v_onDuty"].ToString()) { this.map["v_onDuty"] = reader["v_onDuty"].ToString(); }
        if (oldReader == null || reader["v_sex"].ToString() != oldReader["v_sex"].ToString()) { this.map["v_sex"] = reader["v_sex"].ToString(); }
        if (oldReader == null || reader["v_spec"].ToString() != oldReader["v_spec"].ToString()) { this.map["v_spec"] = reader["v_spec"].ToString(); }
        if (oldReader == null || reader["v_stopstatus"].ToString() != oldReader["v_stopstatus"].ToString()) { this.map["v_stopstatus"] = reader["v_stopstatus"].ToString(); }
        if (oldReader == null || reader["v_tel"].ToString() != oldReader["v_tel"].ToString()) { this.map["v_tel"] = reader["v_tel"].ToString(); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {

        this.map["v_artNo"] = reader["v_artNo"].ToString();

    }

}

//gym_reserve代码
class gym_reserve : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

        if (oldReader == null || reader["begin_date"].ToString() != oldReader["begin_date"].ToString()) { this.map["begin_date"] = CLRTriggers.getDateTimeString(reader, "begin_date"); }
        if (oldReader == null || reader["begin_datetime"].ToString() != oldReader["begin_datetime"].ToString()) { this.map["begin_datetime"] = CLRTriggers.getDateTimeString(reader, "begin_datetime"); }
        if (oldReader == null || reader["bill_code"].ToString() != oldReader["bill_code"].ToString()) { this.map["bill_code"] = reader["bill_code"].ToString(); }
        if (oldReader == null || reader["cardno"].ToString() != oldReader["cardno"].ToString()) { this.map["cardno"] = reader["cardno"].ToString(); }
        if (oldReader == null || reader["cname"].ToString() != oldReader["cname"].ToString()) { this.map["cname"] = reader["cname"].ToString(); }
        if (oldReader == null || reader["color"].ToString() != oldReader["color"].ToString()) { this.map["color"] = CLRTriggers.getDoubleString(reader, "color"); }
        if (oldReader == null || reader["dcbillcode"].ToString() != oldReader["dcbillcode"].ToString()) { this.map["dcbillcode"] = reader["dcbillcode"].ToString(); }
        if (oldReader == null || reader["end_date"].ToString() != oldReader["end_date"].ToString()) { this.map["end_date"] = CLRTriggers.getDateTimeString(reader, "end_date"); }
        if (oldReader == null || reader["end_datetime"].ToString() != oldReader["end_datetime"].ToString()) { this.map["end_datetime"] = CLRTriggers.getDateTimeString(reader, "end_datetime"); }
        if (oldReader == null || reader["FClub"].ToString() != oldReader["FClub"].ToString()) { this.map["FClub"] = reader["FClub"].ToString(); }
        if (oldReader == null || reader["fEntityNo"].ToString() != oldReader["fEntityNo"].ToString()) { this.map["fEntityNo"] = reader["fEntityNo"].ToString(); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["groups"].ToString() != oldReader["groups"].ToString()) { this.map["groups"] = CLRTriggers.getDoubleString(reader, "groups"); }
        if (oldReader == null || reader["if_present"].ToString() != oldReader["if_present"].ToString()) { this.map["if_present"] = CLRTriggers.getDoubleString(reader, "if_present"); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["memid"].ToString() != oldReader["memid"].ToString()) { this.map["memid"] = reader["memid"].ToString(); }
        if (oldReader == null || reader["memo"].ToString() != oldReader["memo"].ToString()) { this.map["memo"] = reader["memo"].ToString(); }
        if (oldReader == null || reader["mobilphone"].ToString() != oldReader["mobilphone"].ToString()) { this.map["mobilphone"] = reader["mobilphone"].ToString(); }
        if (oldReader == null || reader["new_timestamp"].ToString() != oldReader["new_timestamp"].ToString()) { this.map["new_timestamp"] = reader["new_timestamp"].ToString(); }
        if (oldReader == null || reader["op_time"].ToString() != oldReader["op_time"].ToString()) { this.map["op_time"] = CLRTriggers.getDateTimeString(reader, "op_time"); }
        if (oldReader == null || reader["operator"].ToString() != oldReader["operator"].ToString()) { this.map["operator"] = reader["operator"].ToString(); }
        if (oldReader == null || reader["period_id"].ToString() != oldReader["period_id"].ToString()) { this.map["period_id"] = CLRTriggers.getDoubleString(reader, "period_id"); }
        if (oldReader == null || reader["person"].ToString() != oldReader["person"].ToString()) { this.map["person"] = CLRTriggers.getDoubleString(reader, "person"); }
        if (oldReader == null || reader["picture"].ToString() != oldReader["picture"].ToString()) { this.map["picture"] = reader["picture"].ToString(); }
        if (oldReader == null || reader["res_date"].ToString() != oldReader["res_date"].ToString()) { this.map["res_date"] = CLRTriggers.getDateTimeString(reader, "res_date"); }
        if (oldReader == null || reader["res_item"].ToString() != oldReader["res_item"].ToString()) { this.map["res_item"] = reader["res_item"].ToString(); }
        if (oldReader == null || reader["res_time"].ToString() != oldReader["res_time"].ToString()) { this.map["res_time"] = reader["res_time"].ToString(); }
        if (oldReader == null || reader["status"].ToString() != oldReader["status"].ToString()) { this.map["status"] = CLRTriggers.getDoubleString(reader, "status"); }
        if (oldReader == null || reader["status1"].ToString() != oldReader["status1"].ToString()) { this.map["status1"] = CLRTriggers.getDoubleString(reader, "status1"); }
        if (oldReader == null || reader["statusacc"].ToString() != oldReader["statusacc"].ToString()) { this.map["statusacc"] = CLRTriggers.getDoubleString(reader, "statusacc"); }
        if (oldReader == null || reader["time_mode"].ToString() != oldReader["time_mode"].ToString()) { this.map["time_mode"] = reader["time_mode"].ToString(); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {

        this.map["sid"] = CLRTriggers.getDoubleString(reader, "sid");

    }

}

//fitness_enroll代码
class fitness_enroll : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

        if (oldReader == null || reader["cardno"].ToString() != oldReader["cardno"].ToString()) { this.map["cardno"] = reader["cardno"].ToString(); }
        if (oldReader == null || reader["checkczr"].ToString() != oldReader["checkczr"].ToString()) { this.map["checkczr"] = reader["checkczr"].ToString(); }
        if (oldReader == null || reader["checkrq"].ToString() != oldReader["checkrq"].ToString()) { this.map["checkrq"] = CLRTriggers.getDateTimeString(reader, "checkrq"); }
        if (oldReader == null || reader["class"].ToString() != oldReader["class"].ToString()) { this.map["class"] = reader["class"].ToString(); }
        if (oldReader == null || reader["cname"].ToString() != oldReader["cname"].ToString()) { this.map["cname"] = reader["cname"].ToString(); }
        if (oldReader == null || reader["coach"].ToString() != oldReader["coach"].ToString()) { this.map["coach"] = reader["coach"].ToString(); }
        if (oldReader == null || reader["company_tel"].ToString() != oldReader["company_tel"].ToString()) { this.map["company_tel"] = reader["company_tel"].ToString(); }
        if (oldReader == null || reader["discountpercent"].ToString() != oldReader["discountpercent"].ToString()) { this.map["discountpercent"] = CLRTriggers.getDoubleString(reader, "discountpercent"); }
        if (oldReader == null || reader["end_date"].ToString() != oldReader["end_date"].ToString()) { this.map["end_date"] = CLRTriggers.getDateTimeString(reader, "end_date"); }
        if (oldReader == null || reader["endtime"].ToString() != oldReader["endtime"].ToString()) { this.map["endtime"] = CLRTriggers.getDateTimeString(reader, "endtime"); }
        if (oldReader == null || reader["enroll_date"].ToString() != oldReader["enroll_date"].ToString()) { this.map["enroll_date"] = CLRTriggers.getDateTimeString(reader, "enroll_date"); }
        if (oldReader == null || reader["faccpay"].ToString() != oldReader["faccpay"].ToString()) { this.map["faccpay"] = CLRTriggers.getDoubleString(reader, "faccpay"); }
        if (oldReader == null || reader["fartjlno"].ToString() != oldReader["fartjlno"].ToString()) { this.map["fartjlno"] = reader["fartjlno"].ToString(); }
        if (oldReader == null || reader["fartjlnoold"].ToString() != oldReader["fartjlnoold"].ToString()) { this.map["fartjlnoold"] = reader["fartjlnoold"].ToString(); }
        if (oldReader == null || reader["fbcsh"].ToString() != oldReader["fbcsh"].ToString()) { this.map["fbcsh"] = CLRTriggers.getDoubleString(reader, "fbcsh"); }
        if (oldReader == null || reader["fbmhyje"].ToString() != oldReader["fbmhyje"].ToString()) { this.map["fbmhyje"] = CLRTriggers.getDoubleString(reader, "fbmhyje"); }
        if (oldReader == null || reader["fbmje"].ToString() != oldReader["fbmje"].ToString()) { this.map["fbmje"] = CLRTriggers.getDoubleString(reader, "fbmje"); }
        if (oldReader == null || reader["FClub"].ToString() != oldReader["FClub"].ToString()) { this.map["FClub"] = reader["FClub"].ToString(); }
        if (oldReader == null || reader["fcreatedate"].ToString() != oldReader["fcreatedate"].ToString()) { this.map["fcreatedate"] = CLRTriggers.getDateTimeString(reader, "fcreatedate"); }
        if (oldReader == null || reader["fdcset"].ToString() != oldReader["fdcset"].ToString()) { this.map["fdcset"] = CLRTriggers.getDoubleString(reader, "fdcset"); }
        if (oldReader == null || reader["fdctomonthset"].ToString() != oldReader["fdctomonthset"].ToString()) { this.map["fdctomonthset"] = CLRTriggers.getDoubleString(reader, "fdctomonthset"); }
        if (oldReader == null || reader["fdctprice"].ToString() != oldReader["fdctprice"].ToString()) { this.map["fdctprice"] = CLRTriggers.getDoubleString(reader, "fdctprice"); }
        if (oldReader == null || reader["fdiscount"].ToString() != oldReader["fdiscount"].ToString()) { this.map["fdiscount"] = CLRTriggers.getDoubleString(reader, "fdiscount"); }
        if (oldReader == null || reader["fdiscountje"].ToString() != oldReader["fdiscountje"].ToString()) { this.map["fdiscountje"] = CLRTriggers.getDoubleString(reader, "fdiscountje"); }
        if (oldReader == null || reader["fenroquitqry"].ToString() != oldReader["fenroquitqry"].ToString()) { this.map["fenroquitqry"] = CLRTriggers.getDoubleString(reader, "fenroquitqry"); }
        if (oldReader == null || reader["fEntityNo"].ToString() != oldReader["fEntityNo"].ToString()) { this.map["fEntityNo"] = reader["fEntityNo"].ToString(); }
        if (oldReader == null || reader["fifcheck"].ToString() != oldReader["fifcheck"].ToString()) { this.map["fifcheck"] = CLRTriggers.getDoubleString(reader, "fifcheck"); }
        if (oldReader == null || reader["fifysje"].ToString() != oldReader["fifysje"].ToString()) { this.map["fifysje"] = CLRTriggers.getDoubleString(reader, "fifysje"); }
        if (oldReader == null || reader["fincs"].ToString() != oldReader["fincs"].ToString()) { this.map["fincs"] = CLRTriggers.getDoubleString(reader, "fincs"); }
        if (oldReader == null || reader["fkcclose"].ToString() != oldReader["fkcclose"].ToString()) { this.map["fkcclose"] = CLRTriggers.getDoubleString(reader, "fkcclose"); }
        if (oldReader == null || reader["fkcdown"].ToString() != oldReader["fkcdown"].ToString()) { this.map["fkcdown"] = CLRTriggers.getDoubleString(reader, "fkcdown"); }
        if (oldReader == null || reader["fkcpriceje"].ToString() != oldReader["fkcpriceje"].ToString()) { this.map["fkcpriceje"] = CLRTriggers.getDoubleString(reader, "fkcpriceje"); }
        if (oldReader == null || reader["fkscs"].ToString() != oldReader["fkscs"].ToString()) { this.map["fkscs"] = CLRTriggers.getDoubleString(reader, "fkscs"); }
        if (oldReader == null || reader["fmodifydate"].ToString() != oldReader["fmodifydate"].ToString()) { this.map["fmodifydate"] = CLRTriggers.getDateTimeString(reader, "fmodifydate"); }
        if (oldReader == null || reader["fmp"].ToString() != oldReader["fmp"].ToString()) { this.map["fmp"] = reader["fmp"].ToString(); }
        if (oldReader == null || reader["fnesscouqry"].ToString() != oldReader["fnesscouqry"].ToString()) { this.map["fnesscouqry"] = CLRTriggers.getDoubleString(reader, "fnesscouqry"); }
        if (oldReader == null || reader["fnewkcallje"].ToString() != oldReader["fnewkcallje"].ToString()) { this.map["fnewkcallje"] = CLRTriggers.getDoubleString(reader, "fnewkcallje"); }
        if (oldReader == null || reader["fneworadd"].ToString() != oldReader["fneworadd"].ToString()) { this.map["fneworadd"] = CLRTriggers.getDoubleString(reader, "fneworadd"); }
        if (oldReader == null || reader["foldclass"].ToString() != oldReader["foldclass"].ToString()) { this.map["foldclass"] = reader["foldclass"].ToString(); }
        if (oldReader == null || reader["folddjprice"].ToString() != oldReader["folddjprice"].ToString()) { this.map["folddjprice"] = CLRTriggers.getDoubleString(reader, "folddjprice"); }
        if (oldReader == null || reader["fparentclass"].ToString() != oldReader["fparentclass"].ToString()) { this.map["fparentclass"] = reader["fparentclass"].ToString(); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["fpmclatype"].ToString() != oldReader["fpmclatype"].ToString()) { this.map["fpmclatype"] = CLRTriggers.getDoubleString(reader, "fpmclatype"); }
        if (oldReader == null || reader["fpricexh"].ToString() != oldReader["fpricexh"].ToString()) { this.map["fpricexh"] = CLRTriggers.getDoubleString(reader, "fpricexh"); }
        if (oldReader == null || reader["fptmp"].ToString() != oldReader["fptmp"].ToString()) { this.map["fptmp"] = reader["fptmp"].ToString(); }
        if (oldReader == null || reader["freturnje"].ToString() != oldReader["freturnje"].ToString()) { this.map["freturnje"] = CLRTriggers.getDoubleString(reader, "freturnje"); }
        if (oldReader == null || reader["fstudentno"].ToString() != oldReader["fstudentno"].ToString()) { this.map["fstudentno"] = reader["fstudentno"].ToString(); }
        if (oldReader == null || reader["fsycss"].ToString() != oldReader["fsycss"].ToString()) { this.map["fsycss"] = CLRTriggers.getDoubleString(reader, "fsycss"); }
        if (oldReader == null || reader["fUserNo"].ToString() != oldReader["fUserNo"].ToString()) { this.map["fUserNo"] = reader["fUserNo"].ToString(); }
        if (oldReader == null || reader["fwwkcje"].ToString() != oldReader["fwwkcje"].ToString()) { this.map["fwwkcje"] = CLRTriggers.getDoubleString(reader, "fwwkcje"); }
        if (oldReader == null || reader["fyxday"].ToString() != oldReader["fyxday"].ToString()) { this.map["fyxday"] = CLRTriggers.getDoubleString(reader, "fyxday"); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["kccodena"].ToString() != oldReader["kccodena"].ToString()) { this.map["kccodena"] = reader["kccodena"].ToString(); }
        if (oldReader == null || reader["kssj"].ToString() != oldReader["kssj"].ToString()) { this.map["kssj"] = CLRTriggers.getDoubleString(reader, "kssj"); }
        if (oldReader == null || reader["lscard"].ToString() != oldReader["lscard"].ToString()) { this.map["lscard"] = reader["lscard"].ToString(); }
        if (oldReader == null || reader["memid"].ToString() != oldReader["memid"].ToString()) { this.map["memid"] = reader["memid"].ToString(); }
        if (oldReader == null || reader["n_last"].ToString() != oldReader["n_last"].ToString()) { this.map["n_last"] = CLRTriggers.getDoubleString(reader, "n_last"); }
        if (oldReader == null || reader["op_time"].ToString() != oldReader["op_time"].ToString()) { this.map["op_time"] = CLRTriggers.getDateTimeString(reader, "op_time"); }
        if (oldReader == null || reader["operator"].ToString() != oldReader["operator"].ToString()) { this.map["operator"] = reader["operator"].ToString(); }
        if (oldReader == null || reader["pshours"].ToString() != oldReader["pshours"].ToString()) { this.map["pshours"] = CLRTriggers.getDoubleString(reader, "pshours"); }
        if (oldReader == null || reader["psrs"].ToString() != oldReader["psrs"].ToString()) { this.map["psrs"] = CLRTriggers.getDoubleString(reader, "psrs"); }
        if (oldReader == null || reader["sale_name"].ToString() != oldReader["sale_name"].ToString()) { this.map["sale_name"] = reader["sale_name"].ToString(); }
        if (oldReader == null || reader["start_date"].ToString() != oldReader["start_date"].ToString()) { this.map["start_date"] = CLRTriggers.getDateTimeString(reader, "start_date"); }
        if (oldReader == null || reader["status"].ToString() != oldReader["status"].ToString()) { this.map["status"] = CLRTriggers.getDoubleString(reader, "status"); }
        if (oldReader == null || reader["sttime"].ToString() != oldReader["sttime"].ToString()) { this.map["sttime"] = CLRTriggers.getDateTimeString(reader, "sttime"); }
        if (oldReader == null || reader["stu_q_id"].ToString() != oldReader["stu_q_id"].ToString()) { this.map["stu_q_id"] = reader["stu_q_id"].ToString(); }
        if (oldReader == null || reader["tel"].ToString() != oldReader["tel"].ToString()) { this.map["tel"] = reader["tel"].ToString(); }
        if (oldReader == null || reader["totalpro"].ToString() != oldReader["totalpro"].ToString()) { this.map["totalpro"] = CLRTriggers.getDoubleString(reader, "totalpro"); }
        if (oldReader == null || reader["tptcs"].ToString() != oldReader["tptcs"].ToString()) { this.map["tptcs"] = CLRTriggers.getDoubleString(reader, "tptcs"); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {

        this.map["sid"] = reader["sid"].ToString();

    }

}

//gym_period代码
class gym_period : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

        if (oldReader == null || reader["end_date"].ToString() != oldReader["end_date"].ToString()) { this.map["end_date"] = CLRTriggers.getDateTimeString(reader, "end_date"); }
        if (oldReader == null || reader["FClub"].ToString() != oldReader["FClub"].ToString()) { this.map["FClub"] = reader["FClub"].ToString(); }
        if (oldReader == null || reader["fcreatedate"].ToString() != oldReader["fcreatedate"].ToString()) { this.map["fcreatedate"] = CLRTriggers.getDateTimeString(reader, "fcreatedate"); }
        if (oldReader == null || reader["fEntityNo"].ToString() != oldReader["fEntityNo"].ToString()) { this.map["fEntityNo"] = reader["fEntityNo"].ToString(); }
        if (oldReader == null || reader["fmodifydate"].ToString() != oldReader["fmodifydate"].ToString()) { this.map["fmodifydate"] = CLRTriggers.getDateTimeString(reader, "fmodifydate"); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["fUserNo"].ToString() != oldReader["fUserNo"].ToString()) { this.map["fUserNo"] = reader["fUserNo"].ToString(); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["memo"].ToString() != oldReader["memo"].ToString()) { this.map["memo"] = reader["memo"].ToString(); }
        if (oldReader == null || reader["n_last"].ToString() != oldReader["n_last"].ToString()) { this.map["n_last"] = CLRTriggers.getDoubleString(reader, "n_last"); }
        if (oldReader == null || reader["period"].ToString() != oldReader["period"].ToString()) { this.map["period"] = reader["period"].ToString(); }
        if (oldReader == null || reader["sequence"].ToString() != oldReader["sequence"].ToString()) { this.map["sequence"] = CLRTriggers.getDoubleString(reader, "sequence"); }
        if (oldReader == null || reader["start_date"].ToString() != oldReader["start_date"].ToString()) { this.map["start_date"] = CLRTriggers.getDateTimeString(reader, "start_date"); }
        if (oldReader == null || reader["time_mode"].ToString() != oldReader["time_mode"].ToString()) { this.map["time_mode"] = reader["time_mode"].ToString(); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {

        this.map["sid"] = reader["sid"].ToString();

    }

}

//t_fsl_sk_student05代码
class t_fsl_sk_student05 : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

        if (oldReader == null || reader["fbbjlman"].ToString() != oldReader["fbbjlman"].ToString()) { this.map["fbbjlman"] = reader["fbbjlman"].ToString(); }
        if (oldReader == null || reader["fbcsh"].ToString() != oldReader["fbcsh"].ToString()) { this.map["fbcsh"] = CLRTriggers.getDoubleString(reader, "fbcsh"); }
        if (oldReader == null || reader["fbillNo"].ToString() != oldReader["fbillNo"].ToString()) { this.map["fbillNo"] = reader["fbillNo"].ToString(); }
        if (oldReader == null || reader["FClub"].ToString() != oldReader["FClub"].ToString()) { this.map["FClub"] = reader["FClub"].ToString(); }
        if (oldReader == null || reader["fcreatedate"].ToString() != oldReader["fcreatedate"].ToString()) { this.map["fcreatedate"] = CLRTriggers.getDateTimeString(reader, "fcreatedate"); }
        if (oldReader == null || reader["fEntityNo"].ToString() != oldReader["fEntityNo"].ToString()) { this.map["fEntityNo"] = reader["fEntityNo"].ToString(); }
        if (oldReader == null || reader["fifmp"].ToString() != oldReader["fifmp"].ToString()) { this.map["fifmp"] = reader["fifmp"].ToString(); }
        if (oldReader == null || reader["fifpt1"].ToString() != oldReader["fifpt1"].ToString()) { this.map["fifpt1"] = reader["fifpt1"].ToString(); }
        if (oldReader == null || reader["fkcpriceje"].ToString() != oldReader["fkcpriceje"].ToString()) { this.map["fkcpriceje"] = CLRTriggers.getDoubleString(reader, "fkcpriceje"); }
        if (oldReader == null || reader["fkczlall"].ToString() != oldReader["fkczlall"].ToString()) { this.map["fkczlall"] = CLRTriggers.getDoubleString(reader, "fkczlall"); }
        if (oldReader == null || reader["fmodifydate"].ToString() != oldReader["fmodifydate"].ToString()) { this.map["fmodifydate"] = CLRTriggers.getDateTimeString(reader, "fmodifydate"); }
        if (oldReader == null || reader["fpartno"].ToString() != oldReader["fpartno"].ToString()) { this.map["fpartno"] = reader["fpartno"].ToString(); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["fretailprice"].ToString() != oldReader["fretailprice"].ToString()) { this.map["fretailprice"] = CLRTriggers.getDoubleString(reader, "fretailprice"); }
        if (oldReader == null || reader["fretailprice1"].ToString() != oldReader["fretailprice1"].ToString()) { this.map["fretailprice1"] = CLRTriggers.getDoubleString(reader, "fretailprice1"); }
        if (oldReader == null || reader["fReturnedQty"].ToString() != oldReader["fReturnedQty"].ToString()) { this.map["fReturnedQty"] = CLRTriggers.getDoubleString(reader, "fReturnedQty"); }
        if (oldReader == null || reader["fspecification"].ToString() != oldReader["fspecification"].ToString()) { this.map["fspecification"] = reader["fspecification"].ToString(); }
        if (oldReader == null || reader["fsycs"].ToString() != oldReader["fsycs"].ToString()) { this.map["fsycs"] = CLRTriggers.getDoubleString(reader, "fsycs"); }
        if (oldReader == null || reader["ftype"].ToString() != oldReader["ftype"].ToString()) { this.map["ftype"] = reader["ftype"].ToString(); }
        if (oldReader == null || reader["ftypeic"].ToString() != oldReader["ftypeic"].ToString()) { this.map["ftypeic"] = reader["ftypeic"].ToString(); }
        if (oldReader == null || reader["fUserNo"].ToString() != oldReader["fUserNo"].ToString()) { this.map["fUserNo"] = reader["fUserNo"].ToString(); }
        if (oldReader == null || reader["fw1"].ToString() != oldReader["fw1"].ToString()) { this.map["fw1"] = reader["fw1"].ToString(); }
        if (oldReader == null || reader["fw2"].ToString() != oldReader["fw2"].ToString()) { this.map["fw2"] = reader["fw2"].ToString(); }
        if (oldReader == null || reader["fw3"].ToString() != oldReader["fw3"].ToString()) { this.map["fw3"] = reader["fw3"].ToString(); }
        if (oldReader == null || reader["fw4"].ToString() != oldReader["fw4"].ToString()) { this.map["fw4"] = reader["fw4"].ToString(); }
        if (oldReader == null || reader["fw5"].ToString() != oldReader["fw5"].ToString()) { this.map["fw5"] = reader["fw5"].ToString(); }
        if (oldReader == null || reader["fw6"].ToString() != oldReader["fw6"].ToString()) { this.map["fw6"] = reader["fw6"].ToString(); }
        if (oldReader == null || reader["fw7"].ToString() != oldReader["fw7"].ToString()) { this.map["fw7"] = reader["fw7"].ToString(); }
        if (oldReader == null || reader["i_minuteOne"].ToString() != oldReader["i_minuteOne"].ToString()) { this.map["i_minuteOne"] = CLRTriggers.getDoubleString(reader, "i_minuteOne"); }
        if (oldReader == null || reader["i_minuteThree"].ToString() != oldReader["i_minuteThree"].ToString()) { this.map["i_minuteThree"] = CLRTriggers.getDoubleString(reader, "i_minuteThree"); }
        if (oldReader == null || reader["i_minuteTwo"].ToString() != oldReader["i_minuteTwo"].ToString()) { this.map["i_minuteTwo"] = CLRTriggers.getDoubleString(reader, "i_minuteTwo"); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["kh"].ToString() != oldReader["kh"].ToString()) { this.map["kh"] = reader["kh"].ToString(); }
        if (oldReader == null || reader["kscs"].ToString() != oldReader["kscs"].ToString()) { this.map["kscs"] = CLRTriggers.getDoubleString(reader, "kscs"); }
        if (oldReader == null || reader["kssj"].ToString() != oldReader["kssj"].ToString()) { this.map["kssj"] = CLRTriggers.getDoubleString(reader, "kssj"); }
        if (oldReader == null || reader["n_FeeAdd"].ToString() != oldReader["n_FeeAdd"].ToString()) { this.map["n_FeeAdd"] = CLRTriggers.getDoubleString(reader, "n_FeeAdd"); }
        if (oldReader == null || reader["n_FeeAddAdd"].ToString() != oldReader["n_FeeAddAdd"].ToString()) { this.map["n_FeeAddAdd"] = CLRTriggers.getDoubleString(reader, "n_FeeAddAdd"); }
        if (oldReader == null || reader["n_FeeAddDian"].ToString() != oldReader["n_FeeAddDian"].ToString()) { this.map["n_FeeAddDian"] = CLRTriggers.getDoubleString(reader, "n_FeeAddDian"); }
        if (oldReader == null || reader["n_FeeDian"].ToString() != oldReader["n_FeeDian"].ToString()) { this.map["n_FeeDian"] = CLRTriggers.getDoubleString(reader, "n_FeeDian"); }
        if (oldReader == null || reader["n_FeeOne"].ToString() != oldReader["n_FeeOne"].ToString()) { this.map["n_FeeOne"] = CLRTriggers.getDoubleString(reader, "n_FeeOne"); }
        if (oldReader == null || reader["n_FeeThree"].ToString() != oldReader["n_FeeThree"].ToString()) { this.map["n_FeeThree"] = CLRTriggers.getDoubleString(reader, "n_FeeThree"); }
        if (oldReader == null || reader["n_FeeTwo"].ToString() != oldReader["n_FeeTwo"].ToString()) { this.map["n_FeeTwo"] = CLRTriggers.getDoubleString(reader, "n_FeeTwo"); }
        if (oldReader == null || reader["n_last"].ToString() != oldReader["n_last"].ToString()) { this.map["n_last"] = CLRTriggers.getDoubleString(reader, "n_last"); }
        if (oldReader == null || reader["n_PriceDian"].ToString() != oldReader["n_PriceDian"].ToString()) { this.map["n_PriceDian"] = CLRTriggers.getDoubleString(reader, "n_PriceDian"); }
        if (oldReader == null || reader["n_priceOne"].ToString() != oldReader["n_priceOne"].ToString()) { this.map["n_priceOne"] = CLRTriggers.getDoubleString(reader, "n_priceOne"); }
        if (oldReader == null || reader["n_priceThree"].ToString() != oldReader["n_priceThree"].ToString()) { this.map["n_priceThree"] = CLRTriggers.getDoubleString(reader, "n_priceThree"); }
        if (oldReader == null || reader["n_priceTwo"].ToString() != oldReader["n_priceTwo"].ToString()) { this.map["n_priceTwo"] = CLRTriggers.getDoubleString(reader, "n_priceTwo"); }
        if (oldReader == null || reader["pcno"].ToString() != oldReader["pcno"].ToString()) { this.map["pcno"] = reader["pcno"].ToString(); }
        if (oldReader == null || reader["todayrq"].ToString() != oldReader["todayrq"].ToString()) { this.map["todayrq"] = CLRTriggers.getDateTimeString(reader, "todayrq"); }
        if (oldReader == null || reader["todayrq1"].ToString() != oldReader["todayrq1"].ToString()) { this.map["todayrq1"] = CLRTriggers.getDateTimeString(reader, "todayrq1"); }
        if (oldReader == null || reader["tptcs"].ToString() != oldReader["tptcs"].ToString()) { this.map["tptcs"] = CLRTriggers.getDoubleString(reader, "tptcs"); }
        if (oldReader == null || reader["v_bcname"].ToString() != oldReader["v_bcname"].ToString()) { this.map["v_bcname"] = reader["v_bcname"].ToString(); }
        if (oldReader == null || reader["v_LayerNo"].ToString() != oldReader["v_LayerNo"].ToString()) { this.map["v_LayerNo"] = reader["v_LayerNo"].ToString(); }
        if (oldReader == null || reader["v_name1"].ToString() != oldReader["v_name1"].ToString()) { this.map["v_name1"] = reader["v_name1"].ToString(); }
        if (oldReader == null || reader["v_name2"].ToString() != oldReader["v_name2"].ToString()) { this.map["v_name2"] = reader["v_name2"].ToString(); }
        if (oldReader == null || reader["v_artModeNo"].ToString() != oldReader["v_artModeNo"].ToString()) { this.map["v_artModeNo"] = reader["v_artModeNo"].ToString(); }
        if (oldReader == null || reader["yflx"].ToString() != oldReader["yflx"].ToString()) { this.map["yflx"] = reader["yflx"].ToString(); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {

        this.map["fbillNo"] = reader["fbillNo"].ToString();

    }

}

//gym_item代码
class gym_item : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

        if (oldReader == null || reader["ch_areano"].ToString() != oldReader["ch_areano"].ToString()) { this.map["ch_areano"] = reader["ch_areano"].ToString(); }
        if (oldReader == null || reader["ch_kind"].ToString() != oldReader["ch_kind"].ToString()) { this.map["ch_kind"] = reader["ch_kind"].ToString(); }
        if (oldReader == null || reader["ch_lockflag"].ToString() != oldReader["ch_lockflag"].ToString()) { this.map["ch_lockflag"] = reader["ch_lockflag"].ToString(); }
        if (oldReader == null || reader["ch_temp"].ToString() != oldReader["ch_temp"].ToString()) { this.map["ch_temp"] = reader["ch_temp"].ToString(); }
        if (oldReader == null || reader["checkin_id"].ToString() != oldReader["checkin_id"].ToString()) { this.map["checkin_id"] = reader["checkin_id"].ToString(); }
        if (oldReader == null || reader["cname_class"].ToString() != oldReader["cname_class"].ToString()) { this.map["cname_class"] = reader["cname_class"].ToString(); }
        if (oldReader == null || reader["dkonofftype"].ToString() != oldReader["dkonofftype"].ToString()) { this.map["dkonofftype"] = CLRTriggers.getDoubleString(reader, "dkonofftype"); }
        if (oldReader == null || reader["dt_closetime"].ToString() != oldReader["dt_closetime"].ToString()) { this.map["dt_closetime"] = CLRTriggers.getDateTimeString(reader, "dt_closetime"); }
        if (oldReader == null || reader["dt_opertime"].ToString() != oldReader["dt_opertime"].ToString()) { this.map["dt_opertime"] = CLRTriggers.getDateTimeString(reader, "dt_opertime"); }
        if (oldReader == null || reader["fbillNo"].ToString() != oldReader["fbillNo"].ToString()) { this.map["fbillNo"] = reader["fbillNo"].ToString(); }
        if (oldReader == null || reader["fbmp1"].ToString() != oldReader["fbmp1"].ToString()) { this.map["fbmp1"] = reader["fbmp1"].ToString(); }
        if (oldReader == null || reader["fbmp2"].ToString() != oldReader["fbmp2"].ToString()) { this.map["fbmp2"] = reader["fbmp2"].ToString(); }
        if (oldReader == null || reader["FClub"].ToString() != oldReader["FClub"].ToString()) { this.map["FClub"] = reader["FClub"].ToString(); }
        if (oldReader == null || reader["fcreatedate"].ToString() != oldReader["fcreatedate"].ToString()) { this.map["fcreatedate"] = CLRTriggers.getDateTimeString(reader, "fcreatedate"); }
        if (oldReader == null || reader["fdkoff"].ToString() != oldReader["fdkoff"].ToString()) { this.map["fdkoff"] = reader["fdkoff"].ToString(); }
        if (oldReader == null || reader["fdkon"].ToString() != oldReader["fdkon"].ToString()) { this.map["fdkon"] = reader["fdkon"].ToString(); }
        if (oldReader == null || reader["fEntityNo"].ToString() != oldReader["fEntityNo"].ToString()) { this.map["fEntityNo"] = reader["fEntityNo"].ToString(); }
        if (oldReader == null || reader["fifdg"].ToString() != oldReader["fifdg"].ToString()) { this.map["fifdg"] = reader["fifdg"].ToString(); }
        if (oldReader == null || reader["fifdkline"].ToString() != oldReader["fifdkline"].ToString()) { this.map["fifdkline"] = CLRTriggers.getDoubleString(reader, "fifdkline"); }
        if (oldReader == null || reader["fkcyacc"].ToString() != oldReader["fkcyacc"].ToString()) { this.map["fkcyacc"] = reader["fkcyacc"].ToString(); }
        if (oldReader == null || reader["fmodifydate"].ToString() != oldReader["fmodifydate"].ToString()) { this.map["fmodifydate"] = CLRTriggers.getDateTimeString(reader, "fmodifydate"); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["ftipclecd"].ToString() != oldReader["ftipclecd"].ToString()) { this.map["ftipclecd"] = CLRTriggers.getDoubleString(reader, "ftipclecd"); }
        if (oldReader == null || reader["ftiptime"].ToString() != oldReader["ftiptime"].ToString()) { this.map["ftiptime"] = CLRTriggers.getDoubleString(reader, "ftiptime"); }
        if (oldReader == null || reader["fUserNo"].ToString() != oldReader["fUserNo"].ToString()) { this.map["fUserNo"] = reader["fUserNo"].ToString(); }
        if (oldReader == null || reader["fyjje"].ToString() != oldReader["fyjje"].ToString()) { this.map["fyjje"] = CLRTriggers.getDoubleString(reader, "fyjje"); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["item_name"].ToString() != oldReader["item_name"].ToString()) { this.map["item_name"] = reader["item_name"].ToString(); }
        if (oldReader == null || reader["int_id"].ToString() != oldReader["int_id"].ToString()) { this.map["int_id"] = CLRTriggers.getDoubleString(reader, "int_id"); }
        if (oldReader == null || reader["int_person"].ToString() != oldReader["int_person"].ToString()) { this.map["int_person"] = CLRTriggers.getDoubleString(reader, "int_person"); }
        if (oldReader == null || reader["m_id"].ToString() != oldReader["m_id"].ToString()) { this.map["m_id"] = reader["m_id"].ToString(); }
        if (oldReader == null || reader["max_persons"].ToString() != oldReader["max_persons"].ToString()) { this.map["max_persons"] = CLRTriggers.getDoubleString(reader, "max_persons"); }
        if (oldReader == null || reader["max_groups"].ToString() != oldReader["max_groups"].ToString()) { this.map["max_groups"] = CLRTriggers.getDoubleString(reader, "max_groups"); }
        if (oldReader == null || reader["n_last"].ToString() != oldReader["n_last"].ToString()) { this.map["n_last"] = CLRTriggers.getDoubleString(reader, "n_last"); }
        if (oldReader == null || reader["Project_code"].ToString() != oldReader["Project_code"].ToString()) { this.map["Project_code"] = reader["Project_code"].ToString(); }
        if (oldReader == null || reader["seal"].ToString() != oldReader["seal"].ToString()) { this.map["seal"] = CLRTriggers.getDoubleString(reader, "seal"); }
        if (oldReader == null || reader["sequence"].ToString() != oldReader["sequence"].ToString()) { this.map["sequence"] = CLRTriggers.getDoubleString(reader, "sequence"); }
        if (oldReader == null || reader["status"].ToString() != oldReader["status"].ToString()) { this.map["status"] = CLRTriggers.getDoubleString(reader, "status"); }
        if (oldReader == null || reader["t_ifstart"].ToString() != oldReader["t_ifstart"].ToString()) { this.map["t_ifstart"] = reader["t_ifstart"].ToString(); }
        if (oldReader == null || reader["ticket_code"].ToString() != oldReader["ticket_code"].ToString()) { this.map["ticket_code"] = reader["ticket_code"].ToString(); }
        if (oldReader == null || reader["time_mode"].ToString() != oldReader["time_mode"].ToString()) { this.map["time_mode"] = reader["time_mode"].ToString(); }
        if (oldReader == null || reader["userlock"].ToString() != oldReader["userlock"].ToString()) { this.map["userlock"] = CLRTriggers.getDoubleString(reader, "userlock"); }
        if (oldReader == null || reader["Web_ItemType"].ToString() != oldReader["Web_ItemType"].ToString()) { this.map["Web_ItemType"] = CLRTriggers.getDoubleString(reader, "Web_ItemType"); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {

        this.map["item_code"] = reader["item_code"].ToString();

    }

}

//fitness_monthfee代码
class fitness_monthfee : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

        if (oldReader == null || reader["billcode"].ToString() != oldReader["billcode"].ToString()) { this.map["billcode"] = reader["billcode"].ToString(); }
        if (oldReader == null || reader["cardno"].ToString() != oldReader["cardno"].ToString()) { this.map["cardno"] = reader["cardno"].ToString(); }
        if (oldReader == null || reader["enddate"].ToString() != oldReader["enddate"].ToString()) { this.map["enddate"] = CLRTriggers.getDateTimeString(reader, "enddate"); }
        if (oldReader == null || reader["FClub"].ToString() != oldReader["FClub"].ToString()) { this.map["FClub"] = reader["FClub"].ToString(); }
        if (oldReader == null || reader["fcreatedate"].ToString() != oldReader["fcreatedate"].ToString()) { this.map["fcreatedate"] = CLRTriggers.getDateTimeString(reader, "fcreatedate"); }
        if (oldReader == null || reader["fEntityNo"].ToString() != oldReader["fEntityNo"].ToString()) { this.map["fEntityNo"] = reader["fEntityNo"].ToString(); }
        if (oldReader == null || reader["fmodifydate"].ToString() != oldReader["fmodifydate"].ToString()) { this.map["fmodifydate"] = CLRTriggers.getDateTimeString(reader, "fmodifydate"); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["fUserNo"].ToString() != oldReader["fUserNo"].ToString()) { this.map["fUserNo"] = reader["fUserNo"].ToString(); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["item"].ToString() != oldReader["item"].ToString()) { this.map["item"] = CLRTriggers.getDoubleString(reader, "item"); }
        if (oldReader == null || reader["memid"].ToString() != oldReader["memid"].ToString()) { this.map["memid"] = reader["memid"].ToString(); }
        if (oldReader == null || reader["memo"].ToString() != oldReader["memo"].ToString()) { this.map["memo"] = reader["memo"].ToString(); }
        if (oldReader == null || reader["monthfee"].ToString() != oldReader["monthfee"].ToString()) { this.map["monthfee"] = CLRTriggers.getDoubleString(reader, "monthfee"); }
        if (oldReader == null || reader["months"].ToString() != oldReader["months"].ToString()) { this.map["months"] = CLRTriggers.getDoubleString(reader, "months"); }
        if (oldReader == null || reader["n_last"].ToString() != oldReader["n_last"].ToString()) { this.map["n_last"] = CLRTriggers.getDoubleString(reader, "n_last"); }
        if (oldReader == null || reader["name"].ToString() != oldReader["name"].ToString()) { this.map["name"] = reader["name"].ToString(); }
        if (oldReader == null || reader["optime"].ToString() != oldReader["optime"].ToString()) { this.map["optime"] = CLRTriggers.getDateTimeString(reader, "optime"); }
        if (oldReader == null || reader["paydate"].ToString() != oldReader["paydate"].ToString()) { this.map["paydate"] = CLRTriggers.getDateTimeString(reader, "paydate"); }
        if (oldReader == null || reader["price"].ToString() != oldReader["price"].ToString()) { this.map["price"] = CLRTriggers.getDoubleString(reader, "price"); }
        if (oldReader == null || reader["sale_name"].ToString() != oldReader["sale_name"].ToString()) { this.map["sale_name"] = reader["sale_name"].ToString(); }
        if (oldReader == null || reader["startdate"].ToString() != oldReader["startdate"].ToString()) { this.map["startdate"] = CLRTriggers.getDateTimeString(reader, "startdate"); }
        if (oldReader == null || reader["total"].ToString() != oldReader["total"].ToString()) { this.map["total"] = CLRTriggers.getDoubleString(reader, "total"); }
        if (oldReader == null || reader["usercode"].ToString() != oldReader["usercode"].ToString()) { this.map["usercode"] = reader["usercode"].ToString(); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {

        this.map["sid"] = reader["sid"].ToString();

    }

}

//gym_kind代码
class gym_kind : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

        if (oldReader == null || reader["acc_clubkinds3"].ToString() != oldReader["acc_clubkinds3"].ToString()) { this.map["acc_clubkinds3"] = reader["acc_clubkinds3"].ToString(); }
        if (oldReader == null || reader["addhyh"].ToString() != oldReader["addhyh"].ToString()) { this.map["addhyh"] = CLRTriggers.getDoubleString(reader, "addhyh"); }
        if (oldReader == null || reader["addname"].ToString() != oldReader["addname"].ToString()) { this.map["addname"] = CLRTriggers.getDoubleString(reader, "addname"); }
        if (oldReader == null || reader["addtel"].ToString() != oldReader["addtel"].ToString()) { this.map["addtel"] = CLRTriggers.getDoubleString(reader, "addtel"); }
        if (oldReader == null || reader["bccolor"].ToString() != oldReader["bccolor"].ToString()) { this.map["bccolor"] = CLRTriggers.getDoubleString(reader, "bccolor"); }
        if (oldReader == null || reader["cdsl"].ToString() != oldReader["cdsl"].ToString()) { this.map["cdsl"] = CLRTriggers.getDoubleString(reader, "cdsl"); }
        if (oldReader == null || reader["cname"].ToString() != oldReader["cname"].ToString()) { this.map["cname"] = reader["cname"].ToString(); }
        if (oldReader == null || reader["cqcolor"].ToString() != oldReader["cqcolor"].ToString()) { this.map["cqcolor"] = CLRTriggers.getDoubleString(reader, "cqcolor"); }
        if (oldReader == null || reader["dcdelcolor"].ToString() != oldReader["dcdelcolor"].ToString()) { this.map["dcdelcolor"] = CLRTriggers.getDoubleString(reader, "dcdelcolor"); }
        if (oldReader == null || reader["delcdtime"].ToString() != oldReader["delcdtime"].ToString()) { this.map["delcdtime"] = CLRTriggers.getDoubleString(reader, "delcdtime"); }
        if (oldReader == null || reader["display_color"].ToString() != oldReader["display_color"].ToString()) { this.map["display_color"] = CLRTriggers.getDoubleString(reader, "display_color"); }
        if (oldReader == null || reader["f_ckjs"].ToString() != oldReader["f_ckjs"].ToString()) { this.map["f_ckjs"] = CLRTriggers.getDoubleString(reader, "f_ckjs"); }
        if (oldReader == null || reader["f_ts_time"].ToString() != oldReader["f_ts_time"].ToString()) { this.map["f_ts_time"] = CLRTriggers.getDoubleString(reader, "f_ts_time"); }
        if (oldReader == null || reader["f_zdshtime"].ToString() != oldReader["f_zdshtime"].ToString()) { this.map["f_zdshtime"] = CLRTriggers.getDoubleString(reader, "f_zdshtime"); }
        if (oldReader == null || reader["FClub"].ToString() != oldReader["FClub"].ToString()) { this.map["FClub"] = reader["FClub"].ToString(); }
        if (oldReader == null || reader["fcreatedate"].ToString() != oldReader["fcreatedate"].ToString()) { this.map["fcreatedate"] = CLRTriggers.getDateTimeString(reader, "fcreatedate"); }
        if (oldReader == null || reader["fEntityNo"].ToString() != oldReader["fEntityNo"].ToString()) { this.map["fEntityNo"] = reader["fEntityNo"].ToString(); }
        if (oldReader == null || reader["fgridset"].ToString() != oldReader["fgridset"].ToString()) { this.map["fgridset"] = CLRTriggers.getDoubleString(reader, "fgridset"); }
        if (oldReader == null || reader["fifautoqc"].ToString() != oldReader["fifautoqc"].ToString()) { this.map["fifautoqc"] = reader["fifautoqc"].ToString(); }
        if (oldReader == null || reader["fifcdsloff"].ToString() != oldReader["fifcdsloff"].ToString()) { this.map["fifcdsloff"] = CLRTriggers.getDoubleString(reader, "fifcdsloff"); }
        if (oldReader == null || reader["fifdayhouse"].ToString() != oldReader["fifdayhouse"].ToString()) { this.map["fifdayhouse"] = CLRTriggers.getDoubleString(reader, "fifdayhouse"); }
        if (oldReader == null || reader["fifdg"].ToString() != oldReader["fifdg"].ToString()) { this.map["fifdg"] = reader["fifdg"].ToString(); }
        if (oldReader == null || reader["fifhyxh"].ToString() != oldReader["fifhyxh"].ToString()) { this.map["fifhyxh"] = CLRTriggers.getDoubleString(reader, "fifhyxh"); }
        if (oldReader == null || reader["fifoffdk"].ToString() != oldReader["fifoffdk"].ToString()) { this.map["fifoffdk"] = reader["fifoffdk"].ToString(); }
        if (oldReader == null || reader["fkcendtimeset"].ToString() != oldReader["fkcendtimeset"].ToString()) { this.map["fkcendtimeset"] = CLRTriggers.getDoubleString(reader, "fkcendtimeset"); }
        if (oldReader == null || reader["fkcjemin"].ToString() != oldReader["fkcjemin"].ToString()) { this.map["fkcjemin"] = CLRTriggers.getDoubleString(reader, "fkcjemin"); }
        if (oldReader == null || reader["fkcnotjemin"].ToString() != oldReader["fkcnotjemin"].ToString()) { this.map["fkcnotjemin"] = CLRTriggers.getDoubleString(reader, "fkcnotjemin"); }
        if (oldReader == null || reader["fmodiendtime"].ToString() != oldReader["fmodiendtime"].ToString()) { this.map["fmodiendtime"] = reader["fmodiendtime"].ToString(); }
        if (oldReader == null || reader["fmodifydate"].ToString() != oldReader["fmodifydate"].ToString()) { this.map["fmodifydate"] = CLRTriggers.getDateTimeString(reader, "fmodifydate"); }
        if (oldReader == null || reader["fmodisttime"].ToString() != oldReader["fmodisttime"].ToString()) { this.map["fmodisttime"] = reader["fmodisttime"].ToString(); }
        if (oldReader == null || reader["foffdktimemin"].ToString() != oldReader["foffdktimemin"].ToString()) { this.map["foffdktimemin"] = CLRTriggers.getDoubleString(reader, "foffdktimemin"); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["fUserNo"].ToString() != oldReader["fUserNo"].ToString()) { this.map["fUserNo"] = reader["fUserNo"].ToString(); }
        if (oldReader == null || reader["fviewbmp"].ToString() != oldReader["fviewbmp"].ToString()) { this.map["fviewbmp"] = reader["fviewbmp"].ToString(); }
        if (oldReader == null || reader["fviewset"].ToString() != oldReader["fviewset"].ToString()) { this.map["fviewset"] = CLRTriggers.getDoubleString(reader, "fviewset"); }
        if (oldReader == null || reader["fydopencd"].ToString() != oldReader["fydopencd"].ToString()) { this.map["fydopencd"] = CLRTriggers.getDoubleString(reader, "fydopencd"); }
        if (oldReader == null || reader["fzdxhtime"].ToString() != oldReader["fzdxhtime"].ToString()) { this.map["fzdxhtime"] = CLRTriggers.getDoubleString(reader, "fzdxhtime"); }
        if (oldReader == null || reader["hycolor"].ToString() != oldReader["hycolor"].ToString()) { this.map["hycolor"] = CLRTriggers.getDoubleString(reader, "hycolor"); }
        if (oldReader == null || reader["if_tstime"].ToString() != oldReader["if_tstime"].ToString()) { this.map["if_tstime"] = reader["if_tstime"].ToString(); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["ifmmhh"].ToString() != oldReader["ifmmhh"].ToString()) { this.map["ifmmhh"] = reader["ifmmhh"].ToString(); }
        if (oldReader == null || reader["ifnotdc"].ToString() != oldReader["ifnotdc"].ToString()) { this.map["ifnotdc"] = reader["ifnotdc"].ToString(); }
        if (oldReader == null || reader["ifnothy"].ToString() != oldReader["ifnothy"].ToString()) { this.map["ifnothy"] = reader["ifnothy"].ToString(); }
        if (oldReader == null || reader["ifstarhh"].ToString() != oldReader["ifstarhh"].ToString()) { this.map["ifstarhh"] = CLRTriggers.getDoubleString(reader, "ifstarhh"); }
        if (oldReader == null || reader["ifxacc"].ToString() != oldReader["ifxacc"].ToString()) { this.map["ifxacc"] = reader["ifxacc"].ToString(); }
        if (oldReader == null || reader["kcdisplay_color"].ToString() != oldReader["kcdisplay_color"].ToString()) { this.map["kcdisplay_color"] = CLRTriggers.getDoubleString(reader, "kcdisplay_color"); }
        if (oldReader == null || reader["n_last"].ToString() != oldReader["n_last"].ToString()) { this.map["n_last"] = CLRTriggers.getDoubleString(reader, "n_last"); }
        if (oldReader == null || reader["nothycolor"].ToString() != oldReader["nothycolor"].ToString()) { this.map["nothycolor"] = CLRTriggers.getDoubleString(reader, "nothycolor"); }
        if (oldReader == null || reader["Project_code"].ToString() != oldReader["Project_code"].ToString()) { this.map["Project_code"] = reader["Project_code"].ToString(); }
        if (oldReader == null || reader["seal"].ToString() != oldReader["seal"].ToString()) { this.map["seal"] = CLRTriggers.getDoubleString(reader, "seal"); }
        if (oldReader == null || reader["shop_code"].ToString() != oldReader["shop_code"].ToString()) { this.map["shop_code"] = reader["shop_code"].ToString(); }
        if (oldReader == null || reader["t_ifrsacc"].ToString() != oldReader["t_ifrsacc"].ToString()) { this.map["t_ifrsacc"] = reader["t_ifrsacc"].ToString(); }
        if (oldReader == null || reader["t_ifstart"].ToString() != oldReader["t_ifstart"].ToString()) { this.map["t_ifstart"] = reader["t_ifstart"].ToString(); }
        if (oldReader == null || reader["ticket_code"].ToString() != oldReader["ticket_code"].ToString()) { this.map["ticket_code"] = reader["ticket_code"].ToString(); }
        if (oldReader == null || reader["Web_IsShow"].ToString() != oldReader["Web_IsShow"].ToString()) { this.map["Web_IsShow"] = CLRTriggers.getDoubleString(reader, "Web_IsShow"); }
        if (oldReader == null || reader["Web_ItemType"].ToString() != oldReader["Web_ItemType"].ToString()) { this.map["Web_ItemType"] = CLRTriggers.getDoubleString(reader, "Web_ItemType"); }
        if (oldReader == null || reader["yesjs"].ToString() != oldReader["yesjs"].ToString()) { this.map["yesjs"] = CLRTriggers.getDoubleString(reader, "yesjs"); }
        if (oldReader == null || reader["yjsje"].ToString() != oldReader["yjsje"].ToString()) { this.map["yjsje"] = CLRTriggers.getDoubleString(reader, "yjsje"); }
        if (oldReader == null || reader["zdxf"].ToString() != oldReader["zdxf"].ToString()) { this.map["zdxf"] = CLRTriggers.getDoubleString(reader, "zdxf"); }
        if (oldReader == null || reader["zgxf"].ToString() != oldReader["zgxf"].ToString()) { this.map["zgxf"] = CLRTriggers.getDoubleString(reader, "zgxf"); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {

        this.map["code"] = reader["code"].ToString();

    }

}

//jxc_dj_kc_2代码
class jxc_dj_kc_2 : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

        if (oldReader == null || reader["bm_bm"].ToString() != oldReader["bm_bm"].ToString()) { this.map["bm_bm"] = reader["bm_bm"].ToString(); }
        if (oldReader == null || reader["bm_ck"].ToString() != oldReader["bm_ck"].ToString()) { this.map["bm_ck"] = reader["bm_ck"].ToString(); }
        if (oldReader == null || reader["bm_djlx"].ToString() != oldReader["bm_djlx"].ToString()) { this.map["bm_djlx"] = reader["bm_djlx"].ToString(); }
        if (oldReader == null || reader["bm_jbr"].ToString() != oldReader["bm_jbr"].ToString()) { this.map["bm_jbr"] = reader["bm_jbr"].ToString(); }
        if (oldReader == null || reader["bm_sp"].ToString() != oldReader["bm_sp"].ToString()) { this.map["bm_sp"] = reader["bm_sp"].ToString(); }
        if (oldReader == null || reader["bm_gsjg"].ToString() != oldReader["bm_gsjg"].ToString()) { this.map["bm_gsjg"] = reader["bm_gsjg"].ToString(); }
        if (oldReader == null || reader["bz"].ToString() != oldReader["bz"].ToString()) { this.map["bz"] = reader["bz"].ToString(); }
        if (oldReader == null || reader["dj"].ToString() != oldReader["dj"].ToString()) { this.map["dj"] = CLRTriggers.getDoubleString(reader, "dj"); }
        if (oldReader == null || reader["dj_cb"].ToString() != oldReader["dj_cb"].ToString()) { this.map["dj_cb"] = CLRTriggers.getDoubleString(reader, "dj_cb"); }
        if (oldReader == null || reader["dj_f"].ToString() != oldReader["dj_f"].ToString()) { this.map["dj_f"] = CLRTriggers.getDoubleString(reader, "dj_f"); }
        if (oldReader == null || reader["dw"].ToString() != oldReader["dw"].ToString()) { this.map["dw"] = reader["dw"].ToString(); }
        if (oldReader == null || reader["dw_f"].ToString() != oldReader["dw_f"].ToString()) { this.map["dw_f"] = reader["dw_f"].ToString(); }
        if (oldReader == null || reader["dzxh"].ToString() != oldReader["dzxh"].ToString()) { this.map["dzxh"] = CLRTriggers.getDoubleString(reader, "dzxh"); }
        if (oldReader == null || reader["FClub"].ToString() != oldReader["FClub"].ToString()) { this.map["FClub"] = reader["FClub"].ToString(); }
        if (oldReader == null || reader["fcreatedate"].ToString() != oldReader["fcreatedate"].ToString()) { this.map["fcreatedate"] = CLRTriggers.getDateTimeString(reader, "fcreatedate"); }
        if (oldReader == null || reader["fEntityNo"].ToString() != oldReader["fEntityNo"].ToString()) { this.map["fEntityNo"] = reader["fEntityNo"].ToString(); }
        if (oldReader == null || reader["fmodifydate"].ToString() != oldReader["fmodifydate"].ToString()) { this.map["fmodifydate"] = CLRTriggers.getDateTimeString(reader, "fmodifydate"); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["fUserNo"].ToString() != oldReader["fUserNo"].ToString()) { this.map["fUserNo"] = reader["fUserNo"].ToString(); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["is_check"].ToString() != oldReader["is_check"].ToString()) { this.map["is_check"] = CLRTriggers.getDoubleString(reader, "is_check"); }
        if (oldReader == null || reader["je"].ToString() != oldReader["je"].ToString()) { this.map["je"] = CLRTriggers.getDoubleString(reader, "je"); }
        if (oldReader == null || reader["je_cb"].ToString() != oldReader["je_cb"].ToString()) { this.map["je_cb"] = CLRTriggers.getDoubleString(reader, "je_cb"); }
        if (oldReader == null || reader["jxc_yyyymm"].ToString() != oldReader["jxc_yyyymm"].ToString()) { this.map["jxc_yyyymm"] = reader["jxc_yyyymm"].ToString(); }
        if (oldReader == null || reader["n_last"].ToString() != oldReader["n_last"].ToString()) { this.map["n_last"] = CLRTriggers.getDoubleString(reader, "n_last"); }
        if (oldReader == null || reader["sjsl"].ToString() != oldReader["sjsl"].ToString()) { this.map["sjsl"] = CLRTriggers.getDoubleString(reader, "sjsl"); }
        if (oldReader == null || reader["sl"].ToString() != oldReader["sl"].ToString()) { this.map["sl"] = CLRTriggers.getDoubleString(reader, "sl"); }
        if (oldReader == null || reader["sl_f"].ToString() != oldReader["sl_f"].ToString()) { this.map["sl_f"] = CLRTriggers.getDoubleString(reader, "sl_f"); }
        if (oldReader == null || reader["sl_kc"].ToString() != oldReader["sl_kc"].ToString()) { this.map["sl_kc"] = CLRTriggers.getDoubleString(reader, "sl_kc"); }
        if (oldReader == null || reader["slsl"].ToString() != oldReader["slsl"].ToString()) { this.map["slsl"] = CLRTriggers.getDoubleString(reader, "slsl"); }
        if (oldReader == null || reader["yyyymmdd"].ToString() != oldReader["yyyymmdd"].ToString()) { this.map["yyyymmdd"] = reader["yyyymmdd"].ToString(); }
        if (oldReader == null || reader["zhl"].ToString() != oldReader["zhl"].ToString()) { this.map["zhl"] = CLRTriggers.getDoubleString(reader, "zhl"); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {

        this.map["dh"] = reader["dh"].ToString();
        this.map["xh"] = CLRTriggers.getDoubleString(reader, "xh");
    }

}

//jxc_dj_kc_zc_2代码
class jxc_dj_kc_zc_2 : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

        if (oldReader == null || reader["bm_bm"].ToString() != oldReader["bm_bm"].ToString()) { this.map["bm_bm"] = reader["bm_bm"].ToString(); }
        if (oldReader == null || reader["bm_ck"].ToString() != oldReader["bm_ck"].ToString()) { this.map["bm_ck"] = reader["bm_ck"].ToString(); }
        if (oldReader == null || reader["bm_djlx"].ToString() != oldReader["bm_djlx"].ToString()) { this.map["bm_djlx"] = reader["bm_djlx"].ToString(); }
        if (oldReader == null || reader["bm_jbr"].ToString() != oldReader["bm_jbr"].ToString()) { this.map["bm_jbr"] = reader["bm_jbr"].ToString(); }
        if (oldReader == null || reader["bm_sp"].ToString() != oldReader["bm_sp"].ToString()) { this.map["bm_sp"] = reader["bm_sp"].ToString(); }
        if (oldReader == null || reader["bm_gsjg"].ToString() != oldReader["bm_gsjg"].ToString()) { this.map["bm_gsjg"] = reader["bm_gsjg"].ToString(); }
        if (oldReader == null || reader["bz"].ToString() != oldReader["bz"].ToString()) { this.map["bz"] = reader["bz"].ToString(); }
        if (oldReader == null || reader["dj"].ToString() != oldReader["dj"].ToString()) { this.map["dj"] = CLRTriggers.getDoubleString(reader, "dj"); }
        if (oldReader == null || reader["dj_cb"].ToString() != oldReader["dj_cb"].ToString()) { this.map["dj_cb"] = CLRTriggers.getDoubleString(reader, "dj_cb"); }
        if (oldReader == null || reader["dj_f"].ToString() != oldReader["dj_f"].ToString()) { this.map["dj_f"] = CLRTriggers.getDoubleString(reader, "dj_f"); }
        if (oldReader == null || reader["dw"].ToString() != oldReader["dw"].ToString()) { this.map["dw"] = reader["dw"].ToString(); }
        if (oldReader == null || reader["dw_f"].ToString() != oldReader["dw_f"].ToString()) { this.map["dw_f"] = reader["dw_f"].ToString(); }
        if (oldReader == null || reader["dzxh"].ToString() != oldReader["dzxh"].ToString()) { this.map["dzxh"] = CLRTriggers.getDoubleString(reader, "dzxh"); }
        if (oldReader == null || reader["FClub"].ToString() != oldReader["FClub"].ToString()) { this.map["FClub"] = reader["FClub"].ToString(); }
        if (oldReader == null || reader["fcreatedate"].ToString() != oldReader["fcreatedate"].ToString()) { this.map["fcreatedate"] = CLRTriggers.getDateTimeString(reader, "fcreatedate"); }
        if (oldReader == null || reader["fEntityNo"].ToString() != oldReader["fEntityNo"].ToString()) { this.map["fEntityNo"] = reader["fEntityNo"].ToString(); }
        if (oldReader == null || reader["fmodifydate"].ToString() != oldReader["fmodifydate"].ToString()) { this.map["fmodifydate"] = CLRTriggers.getDateTimeString(reader, "fmodifydate"); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["fUserNo"].ToString() != oldReader["fUserNo"].ToString()) { this.map["fUserNo"] = reader["fUserNo"].ToString(); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["is_check"].ToString() != oldReader["is_check"].ToString()) { this.map["is_check"] = CLRTriggers.getDoubleString(reader, "is_check"); }
        if (oldReader == null || reader["je"].ToString() != oldReader["je"].ToString()) { this.map["je"] = CLRTriggers.getDoubleString(reader, "je"); }
        if (oldReader == null || reader["je_cb"].ToString() != oldReader["je_cb"].ToString()) { this.map["je_cb"] = CLRTriggers.getDoubleString(reader, "je_cb"); }
        if (oldReader == null || reader["jxc_yyyymm"].ToString() != oldReader["jxc_yyyymm"].ToString()) { this.map["jxc_yyyymm"] = reader["jxc_yyyymm"].ToString(); }
        if (oldReader == null || reader["n_last"].ToString() != oldReader["n_last"].ToString()) { this.map["n_last"] = CLRTriggers.getDoubleString(reader, "n_last"); }
        if (oldReader == null || reader["sl"].ToString() != oldReader["sl"].ToString()) { this.map["sl"] = CLRTriggers.getDoubleString(reader, "sl"); }
        if (oldReader == null || reader["sl_f"].ToString() != oldReader["sl_f"].ToString()) { this.map["sl_f"] = CLRTriggers.getDoubleString(reader, "sl_f"); }
        if (oldReader == null || reader["yyyymmdd"].ToString() != oldReader["yyyymmdd"].ToString()) { this.map["yyyymmdd"] = reader["yyyymmdd"].ToString(); }
        if (oldReader == null || reader["zhl"].ToString() != oldReader["zhl"].ToString()) { this.map["zhl"] = CLRTriggers.getDoubleString(reader, "zhl"); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {

        this.map["dh"] = reader["dh"].ToString();
        this.map["xh"] = CLRTriggers.getDoubleString(reader, "xh");
    }

}

//jxc_dj_kc_db_2代码
class jxc_dj_kc_db_2 : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

        if (oldReader == null || reader["bm_bm"].ToString() != oldReader["bm_bm"].ToString()) { this.map["bm_bm"] = reader["bm_bm"].ToString(); }
        if (oldReader == null || reader["bm_ck"].ToString() != oldReader["bm_ck"].ToString()) { this.map["bm_ck"] = reader["bm_ck"].ToString(); }
        if (oldReader == null || reader["bm_ck1"].ToString() != oldReader["bm_ck1"].ToString()) { this.map["bm_ck1"] = reader["bm_ck1"].ToString(); }
        if (oldReader == null || reader["bm_djlx"].ToString() != oldReader["bm_djlx"].ToString()) { this.map["bm_djlx"] = reader["bm_djlx"].ToString(); }
        if (oldReader == null || reader["bm_jbr"].ToString() != oldReader["bm_jbr"].ToString()) { this.map["bm_jbr"] = reader["bm_jbr"].ToString(); }
        if (oldReader == null || reader["bm_sp"].ToString() != oldReader["bm_sp"].ToString()) { this.map["bm_sp"] = reader["bm_sp"].ToString(); }
        if (oldReader == null || reader["bm_gsjg"].ToString() != oldReader["bm_gsjg"].ToString()) { this.map["bm_gsjg"] = reader["bm_gsjg"].ToString(); }
        if (oldReader == null || reader["bz"].ToString() != oldReader["bz"].ToString()) { this.map["bz"] = reader["bz"].ToString(); }
        if (oldReader == null || reader["dj_dc"].ToString() != oldReader["dj_dc"].ToString()) { this.map["dj_dc"] = CLRTriggers.getDoubleString(reader, "dj_dc"); }
        if (oldReader == null || reader["dj_dc_f"].ToString() != oldReader["dj_dc_f"].ToString()) { this.map["dj_dc_f"] = CLRTriggers.getDoubleString(reader, "dj_dc_f"); }
        if (oldReader == null || reader["dj_dr"].ToString() != oldReader["dj_dr"].ToString()) { this.map["dj_dr"] = CLRTriggers.getDoubleString(reader, "dj_dr"); }
        if (oldReader == null || reader["dj_dr_f"].ToString() != oldReader["dj_dr_f"].ToString()) { this.map["dj_dr_f"] = CLRTriggers.getDoubleString(reader, "dj_dr_f"); }
        if (oldReader == null || reader["dw"].ToString() != oldReader["dw"].ToString()) { this.map["dw"] = reader["dw"].ToString(); }
        if (oldReader == null || reader["dw_f"].ToString() != oldReader["dw_f"].ToString()) { this.map["dw_f"] = reader["dw_f"].ToString(); }
        if (oldReader == null || reader["dzxh"].ToString() != oldReader["dzxh"].ToString()) { this.map["dzxh"] = CLRTriggers.getDoubleString(reader, "dzxh"); }
        if (oldReader == null || reader["FClub"].ToString() != oldReader["FClub"].ToString()) { this.map["FClub"] = reader["FClub"].ToString(); }
        if (oldReader == null || reader["fcreatedate"].ToString() != oldReader["fcreatedate"].ToString()) { this.map["fcreatedate"] = CLRTriggers.getDateTimeString(reader, "fcreatedate"); }
        if (oldReader == null || reader["fEntityNo"].ToString() != oldReader["fEntityNo"].ToString()) { this.map["fEntityNo"] = reader["fEntityNo"].ToString(); }
        if (oldReader == null || reader["fmodifydate"].ToString() != oldReader["fmodifydate"].ToString()) { this.map["fmodifydate"] = CLRTriggers.getDateTimeString(reader, "fmodifydate"); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["fUserNo"].ToString() != oldReader["fUserNo"].ToString()) { this.map["fUserNo"] = reader["fUserNo"].ToString(); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["is_check"].ToString() != oldReader["is_check"].ToString()) { this.map["is_check"] = CLRTriggers.getDoubleString(reader, "is_check"); }
        if (oldReader == null || reader["je_ce"].ToString() != oldReader["je_ce"].ToString()) { this.map["je_ce"] = CLRTriggers.getDoubleString(reader, "je_ce"); }
        if (oldReader == null || reader["je_dc"].ToString() != oldReader["je_dc"].ToString()) { this.map["je_dc"] = CLRTriggers.getDoubleString(reader, "je_dc"); }
        if (oldReader == null || reader["je_dr"].ToString() != oldReader["je_dr"].ToString()) { this.map["je_dr"] = CLRTriggers.getDoubleString(reader, "je_dr"); }
        if (oldReader == null || reader["jxc_yyyymm"].ToString() != oldReader["jxc_yyyymm"].ToString()) { this.map["jxc_yyyymm"] = reader["jxc_yyyymm"].ToString(); }
        if (oldReader == null || reader["n_last"].ToString() != oldReader["n_last"].ToString()) { this.map["n_last"] = CLRTriggers.getDoubleString(reader, "n_last"); }
        if (oldReader == null || reader["sjsl"].ToString() != oldReader["sjsl"].ToString()) { this.map["sjsl"] = CLRTriggers.getDoubleString(reader, "sjsl"); }
        if (oldReader == null || reader["sl"].ToString() != oldReader["sl"].ToString()) { this.map["sl"] = CLRTriggers.getDoubleString(reader, "sl"); }
        if (oldReader == null || reader["sl_f"].ToString() != oldReader["sl_f"].ToString()) { this.map["sl_f"] = CLRTriggers.getDoubleString(reader, "sl_f"); }
        if (oldReader == null || reader["sl_kc"].ToString() != oldReader["sl_kc"].ToString()) { this.map["sl_kc"] = CLRTriggers.getDoubleString(reader, "sl_kc"); }
        if (oldReader == null || reader["slsl"].ToString() != oldReader["slsl"].ToString()) { this.map["slsl"] = CLRTriggers.getDoubleString(reader, "slsl"); }
        if (oldReader == null || reader["yyyymmdd"].ToString() != oldReader["yyyymmdd"].ToString()) { this.map["yyyymmdd"] = reader["yyyymmdd"].ToString(); }
        if (oldReader == null || reader["zhl"].ToString() != oldReader["zhl"].ToString()) { this.map["zhl"] = CLRTriggers.getDoubleString(reader, "zhl"); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {

        this.map["dh"] = reader["dh"].ToString();
        this.map["xh"] = CLRTriggers.getDoubleString(reader, "xh");
    }

}

//jxc_dj_xs_2代码
class jxc_dj_xs_2 : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

        if (oldReader == null || reader["bm_bm"].ToString() != oldReader["bm_bm"].ToString()) { this.map["bm_bm"] = reader["bm_bm"].ToString(); }
        if (oldReader == null || reader["bm_ck"].ToString() != oldReader["bm_ck"].ToString()) { this.map["bm_ck"] = reader["bm_ck"].ToString(); }
        if (oldReader == null || reader["bm_djlx"].ToString() != oldReader["bm_djlx"].ToString()) { this.map["bm_djlx"] = reader["bm_djlx"].ToString(); }
        if (oldReader == null || reader["bm_dw"].ToString() != oldReader["bm_dw"].ToString()) { this.map["bm_dw"] = reader["bm_dw"].ToString(); }
        if (oldReader == null || reader["bm_jbr"].ToString() != oldReader["bm_jbr"].ToString()) { this.map["bm_jbr"] = reader["bm_jbr"].ToString(); }
        if (oldReader == null || reader["bm_sp"].ToString() != oldReader["bm_sp"].ToString()) { this.map["bm_sp"] = reader["bm_sp"].ToString(); }
        if (oldReader == null || reader["bm_gsjg"].ToString() != oldReader["bm_gsjg"].ToString()) { this.map["bm_gsjg"] = reader["bm_gsjg"].ToString(); }
        if (oldReader == null || reader["bs_xs_th"].ToString() != oldReader["bs_xs_th"].ToString()) { this.map["bs_xs_th"] = CLRTriggers.getDoubleString(reader, "bs_xs_th"); }
        if (oldReader == null || reader["bz"].ToString() != oldReader["bz"].ToString()) { this.map["bz"] = reader["bz"].ToString(); }
        if (oldReader == null || reader["dh_dd"].ToString() != oldReader["dh_dd"].ToString()) { this.map["dh_dd"] = reader["dh_dd"].ToString(); }
        if (oldReader == null || reader["dh_th"].ToString() != oldReader["dh_th"].ToString()) { this.map["dh_th"] = reader["dh_th"].ToString(); }
        if (oldReader == null || reader["dj"].ToString() != oldReader["dj"].ToString()) { this.map["dj"] = CLRTriggers.getDoubleString(reader, "dj"); }
        if (oldReader == null || reader["dj_cb"].ToString() != oldReader["dj_cb"].ToString()) { this.map["dj_cb"] = CLRTriggers.getDoubleString(reader, "dj_cb"); }
        if (oldReader == null || reader["dj_f"].ToString() != oldReader["dj_f"].ToString()) { this.map["dj_f"] = CLRTriggers.getDoubleString(reader, "dj_f"); }
        if (oldReader == null || reader["dj_hs"].ToString() != oldReader["dj_hs"].ToString()) { this.map["dj_hs"] = CLRTriggers.getDoubleString(reader, "dj_hs"); }
        if (oldReader == null || reader["dj_hs_f"].ToString() != oldReader["dj_hs_f"].ToString()) { this.map["dj_hs_f"] = CLRTriggers.getDoubleString(reader, "dj_hs_f"); }
        if (oldReader == null || reader["dw"].ToString() != oldReader["dw"].ToString()) { this.map["dw"] = reader["dw"].ToString(); }
        if (oldReader == null || reader["dw_f"].ToString() != oldReader["dw_f"].ToString()) { this.map["dw_f"] = reader["dw_f"].ToString(); }
        if (oldReader == null || reader["dzxh"].ToString() != oldReader["dzxh"].ToString()) { this.map["dzxh"] = CLRTriggers.getDoubleString(reader, "dzxh"); }
        if (oldReader == null || reader["FClub"].ToString() != oldReader["FClub"].ToString()) { this.map["FClub"] = reader["FClub"].ToString(); }
        if (oldReader == null || reader["fcreatedate"].ToString() != oldReader["fcreatedate"].ToString()) { this.map["fcreatedate"] = CLRTriggers.getDateTimeString(reader, "fcreatedate"); }
        if (oldReader == null || reader["fEntityNo"].ToString() != oldReader["fEntityNo"].ToString()) { this.map["fEntityNo"] = reader["fEntityNo"].ToString(); }
        if (oldReader == null || reader["fmodifydate"].ToString() != oldReader["fmodifydate"].ToString()) { this.map["fmodifydate"] = CLRTriggers.getDateTimeString(reader, "fmodifydate"); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["fUserNo"].ToString() != oldReader["fUserNo"].ToString()) { this.map["fUserNo"] = reader["fUserNo"].ToString(); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["is_check"].ToString() != oldReader["is_check"].ToString()) { this.map["is_check"] = CLRTriggers.getDoubleString(reader, "is_check"); }
        if (oldReader == null || reader["je"].ToString() != oldReader["je"].ToString()) { this.map["je"] = CLRTriggers.getDoubleString(reader, "je"); }
        if (oldReader == null || reader["je_cb"].ToString() != oldReader["je_cb"].ToString()) { this.map["je_cb"] = CLRTriggers.getDoubleString(reader, "je_cb"); }
        if (oldReader == null || reader["je_hs"].ToString() != oldReader["je_hs"].ToString()) { this.map["je_hs"] = CLRTriggers.getDoubleString(reader, "je_hs"); }
        if (oldReader == null || reader["jxc_yyyymm"].ToString() != oldReader["jxc_yyyymm"].ToString()) { this.map["jxc_yyyymm"] = reader["jxc_yyyymm"].ToString(); }
        if (oldReader == null || reader["n_last"].ToString() != oldReader["n_last"].ToString()) { this.map["n_last"] = CLRTriggers.getDoubleString(reader, "n_last"); }
        if (oldReader == null || reader["se"].ToString() != oldReader["se"].ToString()) { this.map["se"] = CLRTriggers.getDoubleString(reader, "se"); }
        if (oldReader == null || reader["sl"].ToString() != oldReader["sl"].ToString()) { this.map["sl"] = CLRTriggers.getDoubleString(reader, "sl"); }
        if (oldReader == null || reader["sl_f"].ToString() != oldReader["sl_f"].ToString()) { this.map["sl_f"] = CLRTriggers.getDoubleString(reader, "sl_f"); }
        if (oldReader == null || reader["sl_th"].ToString() != oldReader["sl_th"].ToString()) { this.map["sl_th"] = CLRTriggers.getDoubleString(reader, "sl_th"); }
        if (oldReader == null || reader["slv"].ToString() != oldReader["slv"].ToString()) { this.map["slv"] = CLRTriggers.getDoubleString(reader, "slv"); }
        if (oldReader == null || reader["yyyymmdd"].ToString() != oldReader["yyyymmdd"].ToString()) { this.map["yyyymmdd"] = reader["yyyymmdd"].ToString(); }
        if (oldReader == null || reader["zhl"].ToString() != oldReader["zhl"].ToString()) { this.map["zhl"] = CLRTriggers.getDoubleString(reader, "zhl"); }
        if (oldReader == null || reader["zk"].ToString() != oldReader["zk"].ToString()) { this.map["zk"] = CLRTriggers.getDoubleString(reader, "zk"); }
        if (oldReader == null || reader["zk_je"].ToString() != oldReader["zk_je"].ToString()) { this.map["zk_je"] = CLRTriggers.getDoubleString(reader, "zk_je"); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {

        this.map["dh"] = reader["dh"].ToString();
        this.map["xh"] = CLRTriggers.getDoubleString(reader, "xh");
    }

}

//jxc_dj_gh_2代码
class jxc_dj_gh_2 : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

        if (oldReader == null || reader["bm_bm"].ToString() != oldReader["bm_bm"].ToString()) { this.map["bm_bm"] = reader["bm_bm"].ToString(); }
        if (oldReader == null || reader["bm_ck"].ToString() != oldReader["bm_ck"].ToString()) { this.map["bm_ck"] = reader["bm_ck"].ToString(); }
        if (oldReader == null || reader["bm_djlx"].ToString() != oldReader["bm_djlx"].ToString()) { this.map["bm_djlx"] = reader["bm_djlx"].ToString(); }
        if (oldReader == null || reader["bm_dw"].ToString() != oldReader["bm_dw"].ToString()) { this.map["bm_dw"] = reader["bm_dw"].ToString(); }
        if (oldReader == null || reader["bm_jbr"].ToString() != oldReader["bm_jbr"].ToString()) { this.map["bm_jbr"] = reader["bm_jbr"].ToString(); }
        if (oldReader == null || reader["bm_sp"].ToString() != oldReader["bm_sp"].ToString()) { this.map["bm_sp"] = reader["bm_sp"].ToString(); }
        if (oldReader == null || reader["bm_gsjg"].ToString() != oldReader["bm_gsjg"].ToString()) { this.map["bm_gsjg"] = reader["bm_gsjg"].ToString(); }
        if (oldReader == null || reader["bs_gh_th"].ToString() != oldReader["bs_gh_th"].ToString()) { this.map["bs_gh_th"] = CLRTriggers.getDoubleString(reader, "bs_gh_th"); }
        if (oldReader == null || reader["bz"].ToString() != oldReader["bz"].ToString()) { this.map["bz"] = reader["bz"].ToString(); }
        if (oldReader == null || reader["dh_dd"].ToString() != oldReader["dh_dd"].ToString()) { this.map["dh_dd"] = reader["dh_dd"].ToString(); }
        if (oldReader == null || reader["dh_dd_xh"].ToString() != oldReader["dh_dd_xh"].ToString()) { this.map["dh_dd_xh"] = CLRTriggers.getDoubleString(reader, "dh_dd_xh"); }
        if (oldReader == null || reader["dh_th"].ToString() != oldReader["dh_th"].ToString()) { this.map["dh_th"] = reader["dh_th"].ToString(); }
        if (oldReader == null || reader["dj"].ToString() != oldReader["dj"].ToString()) { this.map["dj"] = CLRTriggers.getDoubleString(reader, "dj"); }
        if (oldReader == null || reader["dj_cb"].ToString() != oldReader["dj_cb"].ToString()) { this.map["dj_cb"] = CLRTriggers.getDoubleString(reader, "dj_cb"); }
        if (oldReader == null || reader["dj_f"].ToString() != oldReader["dj_f"].ToString()) { this.map["dj_f"] = CLRTriggers.getDoubleString(reader, "dj_f"); }
        if (oldReader == null || reader["dj_hs"].ToString() != oldReader["dj_hs"].ToString()) { this.map["dj_hs"] = CLRTriggers.getDoubleString(reader, "dj_hs"); }
        if (oldReader == null || reader["dj_hs_f"].ToString() != oldReader["dj_hs_f"].ToString()) { this.map["dj_hs_f"] = CLRTriggers.getDoubleString(reader, "dj_hs_f"); }
        if (oldReader == null || reader["dj_ls"].ToString() != oldReader["dj_ls"].ToString()) { this.map["dj_ls"] = CLRTriggers.getDoubleString(reader, "dj_ls"); }
        if (oldReader == null || reader["dw"].ToString() != oldReader["dw"].ToString()) { this.map["dw"] = reader["dw"].ToString(); }
        if (oldReader == null || reader["dw_f"].ToString() != oldReader["dw_f"].ToString()) { this.map["dw_f"] = reader["dw_f"].ToString(); }
        if (oldReader == null || reader["dzxh"].ToString() != oldReader["dzxh"].ToString()) { this.map["dzxh"] = CLRTriggers.getDoubleString(reader, "dzxh"); }
        if (oldReader == null || reader["FClub"].ToString() != oldReader["FClub"].ToString()) { this.map["FClub"] = reader["FClub"].ToString(); }
        if (oldReader == null || reader["fcreatedate"].ToString() != oldReader["fcreatedate"].ToString()) { this.map["fcreatedate"] = CLRTriggers.getDateTimeString(reader, "fcreatedate"); }
        if (oldReader == null || reader["fEntityNo"].ToString() != oldReader["fEntityNo"].ToString()) { this.map["fEntityNo"] = reader["fEntityNo"].ToString(); }
        if (oldReader == null || reader["fmodifydate"].ToString() != oldReader["fmodifydate"].ToString()) { this.map["fmodifydate"] = CLRTriggers.getDateTimeString(reader, "fmodifydate"); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["fUserNo"].ToString() != oldReader["fUserNo"].ToString()) { this.map["fUserNo"] = reader["fUserNo"].ToString(); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["is_check"].ToString() != oldReader["is_check"].ToString()) { this.map["is_check"] = CLRTriggers.getDoubleString(reader, "is_check"); }
        if (oldReader == null || reader["je"].ToString() != oldReader["je"].ToString()) { this.map["je"] = CLRTriggers.getDoubleString(reader, "je"); }
        if (oldReader == null || reader["je_cb"].ToString() != oldReader["je_cb"].ToString()) { this.map["je_cb"] = CLRTriggers.getDoubleString(reader, "je_cb"); }
        if (oldReader == null || reader["je_hs"].ToString() != oldReader["je_hs"].ToString()) { this.map["je_hs"] = CLRTriggers.getDoubleString(reader, "je_hs"); }
        if (oldReader == null || reader["jxc_yyyymm"].ToString() != oldReader["jxc_yyyymm"].ToString()) { this.map["jxc_yyyymm"] = reader["jxc_yyyymm"].ToString(); }
        if (oldReader == null || reader["n_last"].ToString() != oldReader["n_last"].ToString()) { this.map["n_last"] = CLRTriggers.getDoubleString(reader, "n_last"); }
        if (oldReader == null || reader["se"].ToString() != oldReader["se"].ToString()) { this.map["se"] = CLRTriggers.getDoubleString(reader, "se"); }
        if (oldReader == null || reader["sl"].ToString() != oldReader["sl"].ToString()) { this.map["sl"] = CLRTriggers.getDoubleString(reader, "sl"); }
        if (oldReader == null || reader["sl_f"].ToString() != oldReader["sl_f"].ToString()) { this.map["sl_f"] = CLRTriggers.getDoubleString(reader, "sl_f"); }
        if (oldReader == null || reader["sl_th"].ToString() != oldReader["sl_th"].ToString()) { this.map["sl_th"] = CLRTriggers.getDoubleString(reader, "sl_th"); }
        if (oldReader == null || reader["slv"].ToString() != oldReader["slv"].ToString()) { this.map["slv"] = CLRTriggers.getDoubleString(reader, "slv"); }
        if (oldReader == null || reader["yyyymmdd"].ToString() != oldReader["yyyymmdd"].ToString()) { this.map["yyyymmdd"] = reader["yyyymmdd"].ToString(); }
        if (oldReader == null || reader["zhl"].ToString() != oldReader["zhl"].ToString()) { this.map["zhl"] = CLRTriggers.getDoubleString(reader, "zhl"); }
        if (oldReader == null || reader["zk"].ToString() != oldReader["zk"].ToString()) { this.map["zk"] = CLRTriggers.getDoubleString(reader, "zk"); }
        if (oldReader == null || reader["zk_je"].ToString() != oldReader["zk_je"].ToString()) { this.map["zk_je"] = CLRTriggers.getDoubleString(reader, "zk_je"); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {

        this.map["dh"] = reader["dh"].ToString();
        this.map["xh"] = CLRTriggers.getDoubleString(reader, "xh");
    }

}

//jxc_bm_sp代码
class jxc_bm_sp : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

        if (oldReader == null || reader["barcode"].ToString() != oldReader["barcode"].ToString()) { this.map["barcode"] = reader["barcode"].ToString(); }
        if (oldReader == null || reader["bm_gys"].ToString() != oldReader["bm_gys"].ToString()) { this.map["bm_gys"] = reader["bm_gys"].ToString(); }
        if (oldReader == null || reader["bm_lb"].ToString() != oldReader["bm_lb"].ToString()) { this.map["bm_lb"] = reader["bm_lb"].ToString(); }
        if (oldReader == null || reader["bz"].ToString() != oldReader["bz"].ToString()) { this.map["bz"] = reader["bz"].ToString(); }
        if (oldReader == null || reader["cd"].ToString() != oldReader["cd"].ToString()) { this.map["cd"] = reader["cd"].ToString(); }
        if (oldReader == null || reader["ch_printflag"].ToString() != oldReader["ch_printflag"].ToString()) { this.map["ch_printflag"] = CLRTriggers.getDoubleString(reader, "ch_printflag"); }
        if (oldReader == null || reader["dj_hy"].ToString() != oldReader["dj_hy"].ToString()) { this.map["dj_hy"] = CLRTriggers.getDoubleString(reader, "dj_hy"); }
        if (oldReader == null || reader["dj_hy_d"].ToString() != oldReader["dj_hy_d"].ToString()) { this.map["dj_hy_d"] = CLRTriggers.getDoubleString(reader, "dj_hy_d"); }
        if (oldReader == null || reader["dj_hy_x"].ToString() != oldReader["dj_hy_x"].ToString()) { this.map["dj_hy_x"] = CLRTriggers.getDoubleString(reader, "dj_hy_x"); }
        if (oldReader == null || reader["dj_jh"].ToString() != oldReader["dj_jh"].ToString()) { this.map["dj_jh"] = CLRTriggers.getDoubleString(reader, "dj_jh"); }
        if (oldReader == null || reader["dj_ls"].ToString() != oldReader["dj_ls"].ToString()) { this.map["dj_ls"] = CLRTriggers.getDoubleString(reader, "dj_ls"); }
        if (oldReader == null || reader["dj_ls_d"].ToString() != oldReader["dj_ls_d"].ToString()) { this.map["dj_ls_d"] = CLRTriggers.getDoubleString(reader, "dj_ls_d"); }
        if (oldReader == null || reader["dj_ls_x"].ToString() != oldReader["dj_ls_x"].ToString()) { this.map["dj_ls_x"] = CLRTriggers.getDoubleString(reader, "dj_ls_x"); }
        if (oldReader == null || reader["dj_max"].ToString() != oldReader["dj_max"].ToString()) { this.map["dj_max"] = CLRTriggers.getDoubleString(reader, "dj_max"); }
        if (oldReader == null || reader["dj_min"].ToString() != oldReader["dj_min"].ToString()) { this.map["dj_min"] = CLRTriggers.getDoubleString(reader, "dj_min"); }
        if (oldReader == null || reader["dj_pf"].ToString() != oldReader["dj_pf"].ToString()) { this.map["dj_pf"] = CLRTriggers.getDoubleString(reader, "dj_pf"); }
        if (oldReader == null || reader["dj_pf_d"].ToString() != oldReader["dj_pf_d"].ToString()) { this.map["dj_pf_d"] = CLRTriggers.getDoubleString(reader, "dj_pf_d"); }
        if (oldReader == null || reader["dj_pf_x"].ToString() != oldReader["dj_pf_x"].ToString()) { this.map["dj_pf_x"] = CLRTriggers.getDoubleString(reader, "dj_pf_x"); }
        if (oldReader == null || reader["dj_pf1"].ToString() != oldReader["dj_pf1"].ToString()) { this.map["dj_pf1"] = CLRTriggers.getDoubleString(reader, "dj_pf1"); }
        if (oldReader == null || reader["dj_pf2"].ToString() != oldReader["dj_pf2"].ToString()) { this.map["dj_pf2"] = CLRTriggers.getDoubleString(reader, "dj_pf2"); }
        if (oldReader == null || reader["dj_pf3"].ToString() != oldReader["dj_pf3"].ToString()) { this.map["dj_pf3"] = CLRTriggers.getDoubleString(reader, "dj_pf3"); }
        if (oldReader == null || reader["dj_pf4"].ToString() != oldReader["dj_pf4"].ToString()) { this.map["dj_pf4"] = CLRTriggers.getDoubleString(reader, "dj_pf4"); }
        if (oldReader == null || reader["dw"].ToString() != oldReader["dw"].ToString()) { this.map["dw"] = reader["dw"].ToString(); }
        if (oldReader == null || reader["dw_d"].ToString() != oldReader["dw_d"].ToString()) { this.map["dw_d"] = reader["dw_d"].ToString(); }
        if (oldReader == null || reader["dw_x"].ToString() != oldReader["dw_x"].ToString()) { this.map["dw_x"] = reader["dw_x"].ToString(); }
        if (oldReader == null || reader["FClub"].ToString() != oldReader["FClub"].ToString()) { this.map["FClub"] = reader["FClub"].ToString(); }
        if (oldReader == null || reader["fcreatedate"].ToString() != oldReader["fcreatedate"].ToString()) { this.map["fcreatedate"] = CLRTriggers.getDateTimeString(reader, "fcreatedate"); }
        if (oldReader == null || reader["fDeptNo"].ToString() != oldReader["fDeptNo"].ToString()) { this.map["fDeptNo"] = reader["fDeptNo"].ToString(); }
        if (oldReader == null || reader["fEntityNo"].ToString() != oldReader["fEntityNo"].ToString()) { this.map["fEntityNo"] = reader["fEntityNo"].ToString(); }
        if (oldReader == null || reader["fhylp"].ToString() != oldReader["fhylp"].ToString()) { this.map["fhylp"] = CLRTriggers.getDoubleString(reader, "fhylp"); }
        if (oldReader == null || reader["fjhlps"].ToString() != oldReader["fjhlps"].ToString()) { this.map["fjhlps"] = CLRTriggers.getDoubleString(reader, "fjhlps"); }
        if (oldReader == null || reader["fmodifydate"].ToString() != oldReader["fmodifydate"].ToString()) { this.map["fmodifydate"] = CLRTriggers.getDateTimeString(reader, "fmodifydate"); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["fUserNo"].ToString() != oldReader["fUserNo"].ToString()) { this.map["fUserNo"] = reader["fUserNo"].ToString(); }
        if (oldReader == null || reader["gg"].ToString() != oldReader["gg"].ToString()) { this.map["gg"] = reader["gg"].ToString(); }
        if (oldReader == null || reader["ifdiscount"].ToString() != oldReader["ifdiscount"].ToString()) { this.map["ifdiscount"] = CLRTriggers.getDoubleString(reader, "ifdiscount"); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["ifservice"].ToString() != oldReader["ifservice"].ToString()) { this.map["ifservice"] = CLRTriggers.getDoubleString(reader, "ifservice"); }
        if (oldReader == null || reader["ifstock"].ToString() != oldReader["ifstock"].ToString()) { this.map["ifstock"] = CLRTriggers.getDoubleString(reader, "ifstock"); }
        if (oldReader == null || reader["ifvalid"].ToString() != oldReader["ifvalid"].ToString()) { this.map["ifvalid"] = CLRTriggers.getDoubleString(reader, "ifvalid"); }
        if (oldReader == null || reader["is_stop"].ToString() != oldReader["is_stop"].ToString()) { this.map["is_stop"] = CLRTriggers.getDoubleString(reader, "is_stop"); }
        if (oldReader == null || reader["is_tjsp"].ToString() != oldReader["is_tjsp"].ToString()) { this.map["is_tjsp"] = CLRTriggers.getDoubleString(reader, "is_tjsp"); }
        if (oldReader == null || reader["kcfs"].ToString() != oldReader["kcfs"].ToString()) { this.map["kcfs"] = CLRTriggers.getDoubleString(reader, "kcfs"); }
        if (oldReader == null || reader["lb"].ToString() != oldReader["lb"].ToString()) { this.map["lb"] = reader["lb"].ToString(); }
        if (oldReader == null || reader["ly_edit"].ToString() != oldReader["ly_edit"].ToString()) { this.map["ly_edit"] = reader["ly_edit"].ToString(); }
        if (oldReader == null || reader["mc"].ToString() != oldReader["mc"].ToString()) { this.map["mc"] = reader["mc"].ToString(); }
        if (oldReader == null || reader["n_last"].ToString() != oldReader["n_last"].ToString()) { this.map["n_last"] = CLRTriggers.getDoubleString(reader, "n_last"); }
        if (oldReader == null || reader["n_last1"].ToString() != oldReader["n_last1"].ToString()) { this.map["n_last1"] = CLRTriggers.getDoubleString(reader, "n_last1"); }
        if (oldReader == null || reader["pcno"].ToString() != oldReader["pcno"].ToString()) { this.map["pcno"] = reader["pcno"].ToString(); }
        if (oldReader == null || reader["pricemethod"].ToString() != oldReader["pricemethod"].ToString()) { this.map["pricemethod"] = CLRTriggers.getDoubleString(reader, "pricemethod"); }
        if (oldReader == null || reader["rq_edit"].ToString() != oldReader["rq_edit"].ToString()) { this.map["rq_edit"] = reader["rq_edit"].ToString(); }
        if (oldReader == null || reader["rq_new"].ToString() != oldReader["rq_new"].ToString()) { this.map["rq_new"] = reader["rq_new"].ToString(); }
        if (oldReader == null || reader["spsx"].ToString() != oldReader["spsx"].ToString()) { this.map["spsx"] = reader["spsx"].ToString(); }
        if (oldReader == null || reader["vch_printer"].ToString() != oldReader["vch_printer"].ToString()) { this.map["vch_printer"] = reader["vch_printer"].ToString(); }
        if (oldReader == null || reader["zhl_d"].ToString() != oldReader["zhl_d"].ToString()) { this.map["zhl_d"] = CLRTriggers.getDoubleString(reader, "zhl_d"); }
        if (oldReader == null || reader["zhl_x"].ToString() != oldReader["zhl_x"].ToString()) { this.map["zhl_x"] = CLRTriggers.getDoubleString(reader, "zhl_x"); }
        if (oldReader == null || reader["zjm"].ToString() != oldReader["zjm"].ToString()) { this.map["zjm"] = reader["zjm"].ToString(); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {

        this.map["bm"] = reader["bm"].ToString();

    }

}

//jxc_zb_sp_kc代码
class jxc_zb_sp_kc : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

        if (oldReader == null || reader["dj_cb"].ToString() != oldReader["dj_cb"].ToString()) { this.map["dj_cb"] = CLRTriggers.getDoubleString(reader, "dj_cb"); }
        if (oldReader == null || reader["FClub"].ToString() != oldReader["FClub"].ToString()) { this.map["FClub"] = reader["FClub"].ToString(); }
        if (oldReader == null || reader["fcreatedate"].ToString() != oldReader["fcreatedate"].ToString()) { this.map["fcreatedate"] = CLRTriggers.getDateTimeString(reader, "fcreatedate"); }
        if (oldReader == null || reader["fEntityNo"].ToString() != oldReader["fEntityNo"].ToString()) { this.map["fEntityNo"] = reader["fEntityNo"].ToString(); }
        if (oldReader == null || reader["fmodifydate"].ToString() != oldReader["fmodifydate"].ToString()) { this.map["fmodifydate"] = CLRTriggers.getDateTimeString(reader, "fmodifydate"); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["fUserNo"].ToString() != oldReader["fUserNo"].ToString()) { this.map["fUserNo"] = reader["fUserNo"].ToString(); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["je_in"].ToString() != oldReader["je_in"].ToString()) { this.map["je_in"] = CLRTriggers.getDoubleString(reader, "je_in"); }
        if (oldReader == null || reader["je_out"].ToString() != oldReader["je_out"].ToString()) { this.map["je_out"] = CLRTriggers.getDoubleString(reader, "je_out"); }
        if (oldReader == null || reader["je_qc"].ToString() != oldReader["je_qc"].ToString()) { this.map["je_qc"] = CLRTriggers.getDoubleString(reader, "je_qc"); }
        if (oldReader == null || reader["je_qm"].ToString() != oldReader["je_qm"].ToString()) { this.map["je_qm"] = CLRTriggers.getDoubleString(reader, "je_qm"); }
        if (oldReader == null || reader["n_last"].ToString() != oldReader["n_last"].ToString()) { this.map["n_last"] = CLRTriggers.getDoubleString(reader, "n_last"); }
        if (oldReader == null || reader["sl_in"].ToString() != oldReader["sl_in"].ToString()) { this.map["sl_in"] = CLRTriggers.getDoubleString(reader, "sl_in"); }
        if (oldReader == null || reader["sl_out"].ToString() != oldReader["sl_out"].ToString()) { this.map["sl_out"] = CLRTriggers.getDoubleString(reader, "sl_out"); }
        if (oldReader == null || reader["sl_qc"].ToString() != oldReader["sl_qc"].ToString()) { this.map["sl_qc"] = CLRTriggers.getDoubleString(reader, "sl_qc"); }
        if (oldReader == null || reader["sl_qm"].ToString() != oldReader["sl_qm"].ToString()) { this.map["sl_qm"] = CLRTriggers.getDoubleString(reader, "sl_qm"); }
        if (oldReader == null || reader["sl_qm_pd"].ToString() != oldReader["sl_qm_pd"].ToString()) { this.map["sl_qm_pd"] = CLRTriggers.getDoubleString(reader, "sl_qm_pd"); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {
        this.map["bm_ck"] = reader["bm_ck"].ToString();
        this.map["bm_sp"] = reader["bm_sp"].ToString();
        this.map["jxc_yyyymm"] = reader["jxc_yyyymm"].ToString();
    }

}

//gym_status代码
class gym_status : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

        //gym_status代码
        if (oldReader == null || reader["end_date"].ToString() != oldReader["end_date"].ToString()) { this.map["end_date"] = CLRTriggers.getDateTimeString(reader, "end_date"); }
        if (oldReader == null || reader["FClub"].ToString() != oldReader["FClub"].ToString()) { this.map["FClub"] = reader["FClub"].ToString(); }
        if (oldReader == null || reader["fcreatedate"].ToString() != oldReader["fcreatedate"].ToString()) { this.map["fcreatedate"] = CLRTriggers.getDateTimeString(reader, "fcreatedate"); }
        if (oldReader == null || reader["fEntityNo"].ToString() != oldReader["fEntityNo"].ToString()) { this.map["fEntityNo"] = reader["fEntityNo"].ToString(); }
        if (oldReader == null || reader["fmodifydate"].ToString() != oldReader["fmodifydate"].ToString()) { this.map["fmodifydate"] = CLRTriggers.getDateTimeString(reader, "fmodifydate"); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["fUserNo"].ToString() != oldReader["fUserNo"].ToString()) { this.map["fUserNo"] = reader["fUserNo"].ToString(); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["item_code"].ToString() != oldReader["item_code"].ToString()) { this.map["item_code"] = reader["item_code"].ToString(); }
        if (oldReader == null || reader["n_last"].ToString() != oldReader["n_last"].ToString()) { this.map["n_last"] = CLRTriggers.getDoubleString(reader, "n_last"); }
        if (oldReader == null || reader["op_time"].ToString() != oldReader["op_time"].ToString()) { this.map["op_time"] = CLRTriggers.getDateTimeString(reader, "op_time"); }
        if (oldReader == null || reader["operator"].ToString() != oldReader["operator"].ToString()) { this.map["operator"] = reader["operator"].ToString(); }
        if (oldReader == null || reader["period_id"].ToString() != oldReader["period_id"].ToString()) { this.map["period_id"] = CLRTriggers.getDoubleString(reader, "period_id"); }
        if (oldReader == null || reader["reason"].ToString() != oldReader["reason"].ToString()) { this.map["reason"] = reader["reason"].ToString(); }
        if (oldReader == null || reader["res_time"].ToString() != oldReader["res_time"].ToString()) { this.map["res_time"] = reader["res_time"].ToString(); }
        if (oldReader == null || reader["start_date"].ToString() != oldReader["start_date"].ToString()) { this.map["start_date"] = CLRTriggers.getDateTimeString(reader, "start_date"); }
        if (oldReader == null || reader["status"].ToString() != oldReader["status"].ToString()) { this.map["status"] = CLRTriggers.getDoubleString(reader, "status"); }
        if (oldReader == null || reader["time_mode"].ToString() != oldReader["time_mode"].ToString()) { this.map["time_mode"] = reader["time_mode"].ToString(); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {

        this.map["sid"] = reader["sid"].ToString();

    }

}


//card_times_info代码
class card_times_info : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

        //card_times_info代码
        if (oldReader == null || reader["amt"].ToString() != oldReader["amt"].ToString()) { this.map["amt"] = CLRTriggers.getDoubleString(reader, "amt"); }
        if (oldReader == null || reader["amtsent"].ToString() != oldReader["amtsent"].ToString()) { this.map["amtsent"] = CLRTriggers.getDoubleString(reader, "amtsent"); }
        if (oldReader == null || reader["cardcode"].ToString() != oldReader["cardcode"].ToString()) { this.map["cardcode"] = reader["cardcode"].ToString(); }
        if (oldReader == null || reader["FClub"].ToString() != oldReader["FClub"].ToString()) { this.map["FClub"] = reader["FClub"].ToString(); }
        if (oldReader == null || reader["fcreatedate"].ToString() != oldReader["fcreatedate"].ToString()) { this.map["fcreatedate"] = CLRTriggers.getDateTimeString(reader, "fcreatedate"); }
        if (oldReader == null || reader["fEntityNo"].ToString() != oldReader["fEntityNo"].ToString()) { this.map["fEntityNo"] = reader["fEntityNo"].ToString(); }
        if (oldReader == null || reader["fmodifydate"].ToString() != oldReader["fmodifydate"].ToString()) { this.map["fmodifydate"] = CLRTriggers.getDateTimeString(reader, "fmodifydate"); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["fsetitemdate"].ToString() != oldReader["fsetitemdate"].ToString()) { this.map["fsetitemdate"] = CLRTriggers.getDoubleString(reader, "fsetitemdate"); }
        if (oldReader == null || reader["fUserNo"].ToString() != oldReader["fUserNo"].ToString()) { this.map["fUserNo"] = reader["fUserNo"].ToString(); }
        if (oldReader == null || reader["fxmitems"].ToString() != oldReader["fxmitems"].ToString()) { this.map["fxmitems"] = reader["fxmitems"].ToString(); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["limitend"].ToString() != oldReader["limitend"].ToString()) { this.map["limitend"] = reader["limitend"].ToString(); }
        if (oldReader == null || reader["limitstart"].ToString() != oldReader["limitstart"].ToString()) { this.map["limitstart"] = reader["limitstart"].ToString(); }
        if (oldReader == null || reader["n_last"].ToString() != oldReader["n_last"].ToString()) { this.map["n_last"] = CLRTriggers.getDoubleString(reader, "n_last"); }
        if (oldReader == null || reader["othercode"].ToString() != oldReader["othercode"].ToString()) { this.map["othercode"] = reader["othercode"].ToString(); }
        if (oldReader == null || reader["parentcode"].ToString() != oldReader["parentcode"].ToString()) { this.map["parentcode"] = reader["parentcode"].ToString(); }
        if (oldReader == null || reader["payment"].ToString() != oldReader["payment"].ToString()) { this.map["payment"] = reader["payment"].ToString(); }
        if (oldReader == null || reader["remarks"].ToString() != oldReader["remarks"].ToString()) { this.map["remarks"] = reader["remarks"].ToString(); }
        if (oldReader == null || reader["timesname"].ToString() != oldReader["timesname"].ToString()) { this.map["timesname"] = reader["timesname"].ToString(); }
        if (oldReader == null || reader["timesno"].ToString() != oldReader["timesno"].ToString()) { this.map["timesno"] = CLRTriggers.getDoubleString(reader, "timesno"); }
        if (oldReader == null || reader["timessent"].ToString() != oldReader["timessent"].ToString()) { this.map["timessent"] = CLRTriggers.getDoubleString(reader, "timessent"); }
        if (oldReader == null || reader["timestype"].ToString() != oldReader["timestype"].ToString()) { this.map["timestype"] = CLRTriggers.getDoubleString(reader, "timestype"); }
        if (oldReader == null || reader["unitamt"].ToString() != oldReader["unitamt"].ToString()) { this.map["unitamt"] = CLRTriggers.getDoubleString(reader, "unitamt"); }
        if (oldReader == null || reader["validday"].ToString() != oldReader["validday"].ToString()) { this.map["validday"] = CLRTriggers.getDoubleString(reader, "validday"); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {

        this.map["timescode"] = reader["timescode"].ToString();

    }

}

//t_fsl_Entity1代码
class t_fsl_Entity1 : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

        //t_fsl_Entity1代码
        if (oldReader == null || reader["code"].ToString() != oldReader["code"].ToString()) { this.map["code"] = reader["code"].ToString(); }
        if (oldReader == null || reader["FClub"].ToString() != oldReader["FClub"].ToString()) { this.map["FClub"] = reader["FClub"].ToString(); }
        if (oldReader == null || reader["fcreatedate"].ToString() != oldReader["fcreatedate"].ToString()) { this.map["fcreatedate"] = CLRTriggers.getDateTimeString(reader, "fcreatedate"); }
        if (oldReader == null || reader["fEntityNo"].ToString() != oldReader["fEntityNo"].ToString()) { this.map["fEntityNo"] = reader["fEntityNo"].ToString(); }
        if (oldReader == null || reader["fifok"].ToString() != oldReader["fifok"].ToString()) { this.map["fifok"] = CLRTriggers.getDoubleString(reader, "fifok"); }
        if (oldReader == null || reader["fmodifydate"].ToString() != oldReader["fmodifydate"].ToString()) { this.map["fmodifydate"] = CLRTriggers.getDateTimeString(reader, "fmodifydate"); }
        if (oldReader == null || reader["fname"].ToString() != oldReader["fname"].ToString()) { this.map["fname"] = reader["fname"].ToString(); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["ftype"].ToString() != oldReader["ftype"].ToString()) { this.map["ftype"] = CLRTriggers.getDoubleString(reader, "ftype"); }
        if (oldReader == null || reader["fUserNo"].ToString() != oldReader["fUserNo"].ToString()) { this.map["fUserNo"] = reader["fUserNo"].ToString(); }
        if (oldReader == null || reader["fvch_printer"].ToString() != oldReader["fvch_printer"].ToString()) { this.map["fvch_printer"] = reader["fvch_printer"].ToString(); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["n_last"].ToString() != oldReader["n_last"].ToString()) { this.map["n_last"] = CLRTriggers.getDoubleString(reader, "n_last"); }
        if (oldReader == null || reader["parentcode"].ToString() != oldReader["parentcode"].ToString()) { this.map["parentcode"] = reader["parentcode"].ToString(); }
        if (oldReader == null || reader["WORKSHOP_ID"].ToString() != oldReader["WORKSHOP_ID"].ToString()) { this.map["WORKSHOP_ID"] = reader["WORKSHOP_ID"].ToString(); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {

        this.map[""] = reader[""].ToString();

    }

}


//t_fsl_Entity2代码
class t_fsl_Entity2 : tongbu
{

    public override void fillFields(Dictionary<String, Object> reader, Dictionary<String, Object> oldReader)
    {

        //t_fsl_Entity2代码
        if (oldReader == null || reader["code"].ToString() != oldReader["code"].ToString()) { this.map["code"] = reader["code"].ToString(); }
        if (oldReader == null || reader["FClub"].ToString() != oldReader["FClub"].ToString()) { this.map["FClub"] = reader["FClub"].ToString(); }
        if (oldReader == null || reader["fcreatedate"].ToString() != oldReader["fcreatedate"].ToString()) { this.map["fcreatedate"] = CLRTriggers.getDateTimeString(reader, "fcreatedate"); }
        if (oldReader == null || reader["fEntityNo"].ToString() != oldReader["fEntityNo"].ToString()) { this.map["fEntityNo"] = reader["fEntityNo"].ToString(); }
        if (oldReader == null || reader["fifok"].ToString() != oldReader["fifok"].ToString()) { this.map["fifok"] = CLRTriggers.getDoubleString(reader, "fifok"); }
        if (oldReader == null || reader["fmodifydate"].ToString() != oldReader["fmodifydate"].ToString()) { this.map["fmodifydate"] = CLRTriggers.getDateTimeString(reader, "fmodifydate"); }
        if (oldReader == null || reader["fname"].ToString() != oldReader["fname"].ToString()) { this.map["fname"] = reader["fname"].ToString(); }
        if (oldReader == null || reader["Fpcno"].ToString() != oldReader["Fpcno"].ToString()) { this.map["Fpcno"] = reader["Fpcno"].ToString(); }
        if (oldReader == null || reader["ftype"].ToString() != oldReader["ftype"].ToString()) { this.map["ftype"] = CLRTriggers.getDoubleString(reader, "ftype"); }
        if (oldReader == null || reader["fUserNo"].ToString() != oldReader["fUserNo"].ToString()) { this.map["fUserNo"] = reader["fUserNo"].ToString(); }
        if (oldReader == null || reader["fvch_printer"].ToString() != oldReader["fvch_printer"].ToString()) { this.map["fvch_printer"] = reader["fvch_printer"].ToString(); }
        if (oldReader == null || reader["ifdown"].ToString() != oldReader["ifdown"].ToString()) { this.map["ifdown"] = reader["ifdown"].ToString(); }
        if (oldReader == null || reader["n_last"].ToString() != oldReader["n_last"].ToString()) { this.map["n_last"] = CLRTriggers.getDoubleString(reader, "n_last"); }
        if (oldReader == null || reader["parentcode"].ToString() != oldReader["parentcode"].ToString()) { this.map["parentcode"] = reader["parentcode"].ToString(); }
        if (oldReader == null || reader["WORKSHOP_ID"].ToString() != oldReader["WORKSHOP_ID"].ToString()) { this.map["WORKSHOP_ID"] = reader["WORKSHOP_ID"].ToString(); }
    }

    public override void fillPK(Dictionary<string, object> reader)
    {

        this.map[""] = reader[""].ToString();

    }

}






